7) Check the Environment Variables.
We have, in the previous two steps, tweaked the Environment Variables and rebooted/restarted Windows to have those changes take effect. So this is a good time to check out the Environment Variables. Click on the "Start" button (A), and the "Run" option (B)...
In the "Run" window (C), type "cmd" (D), and click on the "OK" button (E)...
which will open the DOS command window (F). Type set (G) followed by [Enter] key...
to display all the environment variables. You may need to scroll down or up the window to inspect the whole list of variables. The "Path" variable definitely includes "C:\PHP" in it's value (H), and the new variable "PHPRC" is now one of the variables with the value of "C:\PHP" ( I ). If this is not the case, you will have to back track and repeat steps #5 (for "Path") or #6 (for "PHPRC") depending on which environment variable is not right.
![]()
When you run "cmd", the default directory may not
necessarily be "C:\>" depending on the situation when you actually
open the DOS window. This does not matter since the "set"
command will work regardless of the default directory.
Previous Step: 6) Create the “PHPRC” environment variable
Next Step : 8) Tweak the permissions