php.exe command line issue

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
madan koshti
Forum Commoner
Posts: 50
Joined: Fri Jun 06, 2008 4:25 am

php.exe command line issue

Post by madan koshti »

Hello Everyone,

I have xampp on windows 2000.

suppose I have program.php in document root htdocs/.

How can I run php program.php by comand line? ???????? It is giving me "'php' is not recognized as an internal or external command," error .

How can I setup environment path ???

Pls help me asap.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: php.exe command line issue

Post by Benjamin »

Post Reply