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

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -