0

Like this question, I'm look for a solution for Windows 7

How do I add paths to the Apache PATH variable?

Something like that, to SET Apache PATH Variable in Windows 7 (Registry?)

export PATH="$PATH":/opt/local/lib/mysql5/bin:/this-is-a-test

enter image description here

Thanks!

Community
  • 1
  • 1

1 Answers1

0
  1. Go to System Properties
  2. Then, go to “Advanced system settings”
  3. Under “Advanced” tab, click on “Environment Variables …” button at the bottom
  4. Double click PATH and add new path into the “variable value”. Make sure you separate the value with “; “

Kind regards

Nico Van Belle
  • 4,911
  • 4
  • 32
  • 49
  • Sorry, don't work. I have do so and reboot the PC, but the Windows PATH is farther different to apache PATH in phpinfo(); –  Feb 08 '17 at 11:58
  • You are right, but I have to login as administrator, because the apache service will use the PATH from admin account! Now it works again! –  Feb 08 '17 at 12:49