Page 1 of 1

executing php through command line

Posted: Fri Apr 01, 2005 3:44 am
by lnp80
Hello

I need to execute a php-script from the commandline. I am running a python-program and i need the php-script to do something for me. How can i start this php-script. I am using Windows

regards

Posted: Fri Apr 01, 2005 5:39 am
by Chris Corbyn

Code: Select all

# C:\> c:\php\php.exe c:\webs\phpfile.php