Click to See Complete Forum and Search --> : what is the difference


pelegk2
01-12-2005, 09:46 AM
between :
php.exe
and
php-cgi.exe
and
php-win.exe
which 1 should i use?
thnaks in advane
peleg

tsinka
01-16-2005, 04:40 AM
Hi,

php.exe is the cli version (command line interface) for use on e.g. a command prompt.

php-cgi.exe is the cgi version if you want to enable php as cgi in e.g. apache.

php-win.exe is a windows version of the php executable without a console. So it doesn't start a DOS console if you try to execute it. Use that executable if you want to e.g. execute some PHP jobs with the windows scheduler.

Thomas

pelegk2
01-16-2005, 05:15 AM
what do u mean by
php as cgi in e.g. apache

planetsim
01-16-2005, 07:16 PM
http://www.php.net/manual/en/security.cgi-bin.php may give you a bit more help. However its security not really explaining what CGI is.

http://en.wikipedia.org/wiki/Common_Gateway_Interface