Page 1 of 1

Executing PHP from Windows CLI

Posted: Wed Nov 24, 2010 11:58 pm
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

Re: Executing PHP from Windows CLI

Posted: Sat Jan 22, 2011 12:11 pm
by jarofgreen
They use a windows batch (.bat extension) file to launch a PHP process. Look for phpdoc.bat in your PHP application folder.