Jump to content

PHP not recognized in command line

darkmag98

So I've been dealing with this all night and can't seem to figure it out. I'm using windows 7 and I've been trying to run PHP commands in CMD but can't figure it out. I've tried changing the path in advanced system settings under system values. I've made sure everything is perfect. Does it not work if the PHP is installed on a different drive other than C:/?

 

EDIT: 

added images

aZxtylL.png

 

 

 

 

cy8ERqm.png

 

 

 

utP0ZHq.png

Link to comment
Share on other sites

Link to post
Share on other sites

Did you restart the command prompt after updating the path?

Indeed, and ran as administrator.

Link to comment
Share on other sites

Link to post
Share on other sites

Environment variables have given me issues in the past and they are finicky as hell, go through the entire string and make sure there are no issues with other paths.

Link to comment
Share on other sites

Link to post
Share on other sites

Woo, developing in PHP on windows.

 

Verify you can run PHP from the commandline at all, and relog.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×