When I typed php in my command prompt, It results
C:\Users\samsung>php
'php' is not recognized as an internal or external command,
operable program or batch file.
I have installed xampp in my windows 10 and I haven't edited the php.ini file in the settings. Any help to enable this php command would be greatly appreciated because I am stock in my laravel composer setup due to this.
If you are using windows:
then Restart
Detail Support available here
You should add the php.exe path to PATH environment variable
http://php.net/manual/en/faq.installation.php#faq.installation.addtopath
Install composer, during the installation process allow composer to add php to your path:
https://getcomposer.org/Composer-Setup.exe
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With