Jump to content

[Solved] PHP in command line


subuntug

Recommended Posts

Hello;I'm newbie in synfony framwork and PHP development. I use windows cammand line. The problem is: every time I run the command c:/ PHP /somethingthe command line tell me that; PHP is not recognized as internal or external command. So to run PHP I have each time put the full path toward php program in my computer. How can I fix it ?Thank you in advance for your help.

Link to comment
Share on other sites

Add the PHP executable's directory to the PATH environment variable.

Link to comment
Share on other sites

Add the PHP executable's directory to the PATH environment variable.
That's what I did. I added this line in my environment variable: C:\Program Files\wamp\bin\php\php5.3.1;But it still doesn't work at all ! So, when I type the command echo %path% it shows me this:c:\windows\system32; c:\program files\wamp\bin\php\php5.3.1;So, what's wrong with my path system variable ?Thank you in advance.
Link to comment
Share on other sites

Get rid of the space after the semicolon.
...that was well spotted, lol.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...