1. Open the System Properties dialog in the Windows Control Panel and open the Advanced tab.
  2. Click the Environment Variables button.
  3. Under the System variables control scroll down and select the Path variable.
  4. Click the Edit button.
  5. Enter the path to the PHP directory in the Variable value field of the Edit System variable dialog box. Put it at the beginning of the string and use a semi-colon to seperate the values.

  6. Click the OK button on each of the dialog boxes to close them.
  7. You will need to restart the web server to apply the changes, but that can wait until you've finished the other PHP configuration.

Back