Set PHP environment variable to the System for run PHP from CMD (Command Prompt)
Step 1 : Open properties of My Computer (Right Click on My Computer)
Step 2 : Click on "Advance system settings"
Step 3 : Can see popup of "System Properties"
Click on "Environment Variable" button
Append C:\wamp\bin\php\php5.5.12; at last (Note :- replace php5.5.12 with your php version)
Step 5 : Close / Open CMD (Command Prompt) again
Now, It's solved !
Step 2 : Click on "Advance system settings"
Step 3 : Can see popup of "System Properties"
Click on "Environment Variable" button
Step 4 : Can see popup of Environment Variable
Set System variable path for PHP
Append C:\wamp\bin\php\php5.5.12; at last (Note :- replace php5.5.12 with your php version)
Step 5 : Close / Open CMD (Command Prompt) again
Now, It's solved !
Thanks Buddy !
ReplyDeleteThis is really Helpful to me !