Thanks, you are right.  I used php.exe -v to confirm cgi version.
 
My query is what parameter do I use to specify host and port? That will have
the same effect as -b in php5.
 
Sorry if I didn't make it clear.
 
John

  _____  

From: ?? [mailto:delm...@gmail.com] 
Sent: Friday, June 05, 2009 8:24 AM
To: j.fair...@bcs.org.uk
Subject: Re: [PHP] Listening on host:port - Windows


in php4,php.exe is the cgi version for default,and php-cli is the cli
version 
in php5,php.exe is the cli version,and php-cgi is the cgi version

i think you can use php.exe instead of php-cgi.exe in php4

2009/6/5 John Fairley <j.fair...@bcs.org.uk>


I'm running my test server on Windows XP SP3 and have been successfully
running PHP 5 for some time using:

   php-cgi.exe -b 127.0.0.1:10000

My live server is running on PHP 4.4 and that gives an incompatibility risk
in problem solving.  So I've removed PHP 5 on my test server and have
installed PHP 4.4.9 but I can't find how I set host and port in php.

Running php -v has confirmed that this is the cgi-fcgi version.

I'm sure it's simple but I'm being driven nuts.

TIA,

John





Reply via email to