Re: Q on PHP 4.3.2 & Apache 2.0.43
| From: | jsWalter | Date: | Fri, 01 Aug 2003 01:11:52 +0000 |
| Subject: | Re: Q on PHP 4.3.2 & Apache 2.0.43 | ||
| References: | 1 2 3 4 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20964@lists.php.net to get a copy of this message | ||
"Sek-Mun Wong" <sekmun@connectingspace.com> wrote in message
news:20030801004118.97445.qmail@pb1.pair.com...
> > I can only assume you are refering to...
> >
> > LoadModule php4_module "/etc/php/sapi/php4apache2.dll"
> >
>
> oops just spotted this... maybe this is the issue? the function might not
> like what apache2/win32 returns. fwiw I've gone back to 1.3.28 on win32.
> Don't really need apache2... yet.
OK, now we're getting somewhere!
At the top of the code it is looking at...
$sapi_name = php_sapi_name(); [returns 'apache2handler']
and
($_SERVER['GATEWAY_INTERFACE'] [returns 'CGI/1.1']
Then, at the "problem" area (both of them...
$php_sapi_name = win32DetectPHPSAPI(); [kills test script, no error]
Well, the script runs now, but only after I commented out the CGI check
sections (both of them)
So it works, but it's not perfect. :/
Walter