Executing PHP from Windows CLI

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
fwycruiser118
Forum Newbie
Posts: 9
Joined: Sat Oct 09, 2010 7:45 pm
Location: Calif

Executing PHP from Windows CLI

Post by fwycruiser118 »

Just curious how do execute a script php style without telling php ?

For example with phpunit, or various other PEAR installations, I can just type in the name of the script located in the bin folder.
Ex: phpunit ... NOT php phpunit ...

Edit: Im using windows
jarofgreen
Forum Commoner
Posts: 71
Joined: Sun Jul 11, 2010 12:40 pm

Re: Executing PHP from Windows CLI

Post by jarofgreen »

They use a windows batch (.bat extension) file to launch a PHP process. Look for phpdoc.bat in your PHP application folder.
Post Reply