‘php.exe’ is not recognized as an internal or external command,
operable program or batch file.
Why does that error occur even though I've added PHP to my environment variables?
My environment variable PATH is shown below:
C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\Program
Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files\PC
……………
Files\QTSystem\;A:\xampp\php\php.exe
I'm using Windows 7.
Best Answer
The PATH environment variable must contain paths only, not file names.
Make that