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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rasana
Forum Newbie
Posts: 9
Joined: Fri Aug 08, 2008 6:07 am

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

Post 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
Corvin
Forum Commoner
Posts: 49
Joined: Sun Dec 03, 2006 1:04 pm

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

Post 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
Post Reply