subuntug Posted April 28, 2010 Share Posted April 28, 2010 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 More sharing options...
Synook Posted April 28, 2010 Share Posted April 28, 2010 Add the PHP executable's directory to the PATH environment variable. Link to comment Share on other sites More sharing options...
subuntug Posted April 28, 2010 Author Share Posted April 28, 2010 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 More sharing options...
Synook Posted April 29, 2010 Share Posted April 29, 2010 Get rid of the space after the semicolon. Link to comment Share on other sites More sharing options...
subuntug Posted April 29, 2010 Author Share Posted April 29, 2010 Get rid of the space after the semicolon.Thank you so much Synook ! I just got rid of space after the semi colon, and now the problem is solved.Thank you again Link to comment Share on other sites More sharing options...
chibineku Posted April 29, 2010 Share Posted April 29, 2010 Get rid of the space after the semicolon....that was well spotted, lol. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.