executing php through command line

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
lnp80
Forum Newbie
Posts: 7
Joined: Thu Mar 31, 2005 1:26 pm

executing php through command line

Post 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
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Code: Select all

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