cmd - php is not recognized as an internal or external command in command prompt -
i got following error when run command php
c:\xampp\htdocs>php 'php' not recognized internal or external command, operable program or batch file. i don't error when run command php in following path:
c:\xampp\php>php //do not got error here why error?
'php' not recognized internal or external command, operable program or batch file.
add c:\xampp\php path environment variable. close command prompt , restart again. it's important because if didn't restart command prompt changes not reflected.
thanks
Comments
Post a Comment