Bruce Bruce - 9 months ago 66
PHP Question

How to set the env variable for PHP?

I am using WAMP. I want to use php from the command prompt. What is the entry in PATH env variable for this ?


You need to put the directory that has php.exe in you WAMP installation into your PATH. It is usually something like C:\wamp\xampp\php