Re: Executing PHP

From: Date: Thu, 25 Oct 2007 22:02:34 +0000
Subject: Re: Executing PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-263677@lists.php.net to get a copy of this message
Philip Thompson wrote:
Hi. Feel free to tell me this is a "duh" question. I don't know which PHP executable (php.exe, php-cgi.exe, php-win.exe) is being run - how can I tell? I am on a Win2k3 server running PHP5 (manual install) and IIS6. I've pointed to the php5isapi.dll in IIS. I'm assuming b/c I do this that I am using the php.exe. Thoughts? I've searched the PHP manual, but have had no luck. Thanks in advance, ~Philip
Well, if you use the isapi then you're not using ANY of the ones you listed, you're using php5isapi.dll. The others are for various uses; the php-cgi.exe is meant to be used if you have php support via CGI instead of via the isapi (like you are). php.exe is a simple CLI, and php-win.exe is also a CLI but does not give any output, thus not showing any DOS windows (which php.exe DOES). http://www.php.net/features.commandline should give you more info - Tul

« previous php.general (#263677) next »