Page 1 of 1

'php' is not internal or external command.....

Posted: Thu Aug 21, 2008 4:49 am
by rasana
Hi All,

If I run php -v command to know php version on command line,
it shows error like
'php' is not recognized as an internal or external command, operable program or batch file'

what does this error means?
I'm using xampp server on windows

Re: 'php' is not internal or external command.....

Posted: Thu Aug 21, 2008 5:30 am
by Corvin
You have to enter the whole path of php. In Windows it could look like this:

Code: Select all

c:\php\php -v