Need to add C:\xampp\php to your PATH environment variable. Then close your command prompt and restart again. It is very important because if you do not restart your command prompt then changes will not be reflected. |
Go to My Computer->properties -> Advanced system setting
Now click on Environment Variables |
Add ;C:\xampp\php in path variable value
|
Now restart command prompt DONE!
Note: Make sure you run CMD via run as administrator |
Saturday, February 22, 2020
PHP is not recognized as an internal or external command in command prompt
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment