"Sek-Mun Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > 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 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php