ID: 45693 User updated by: lochiejohn at gmail dot com Reported By: lochiejohn at gmail dot com Status: Bogus Bug Type: CGI related Operating System: Windows 2000 PHP Version: 5.2.6 New Comment:
PHP4 is in C:\PHP\ on Apache 2.2 PHP5 is is C:\PHP5\ on IIS Two separate configurations, ports, software, setup, DLL... Everything is separate, apart from the two web-file locations- Default 80: C:\Program Files\Apache Software Foundation\Apache 2.2\htdocs\ PHP5 1234: C:\Program Files\Apache Software Foundation\Apache 2.2\htdocs\mediawiki-1.10.1\ Previous Comments: ------------------------------------------------------------------------ [2008-08-03 00:27:33] [EMAIL PROTECTED] You just need to install the 2 different versions in 2 different locations. And fix your configuration. This is no bug in PHP. ------------------------------------------------------------------------ [2008-08-03 00:26:10] lochiejohn at gmail dot com I need both PHP4.3.3 and PHP5.2.6 running on the same server on different ports (PHP4 10.1.1.60:80 (Default), PHP5 10.1.1.60:1234 (PHP5 Runtime)) ------------------------------------------------------------------------ [2008-08-03 00:20:57] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi And before you install the snapshot, remove ALL existing files from previous PHP installations. Seems like you have some stale php5ts.dll somewhere in your system.. ------------------------------------------------------------------------ [2008-08-03 00:16:23] lochiejohn at gmail dot com Description: ------------ PHP Ver.5.2.6 can't find a whole stack of entry points/DLL files. The files do exist and are vaild and I have added C:/PHP5 to the Environment Variable List in the System Tab in Windows 2000. It still won't work hovever it makes IIS and Apache crash because of the 'CGI- Missing/Incomplete Headers' error. It appears that PHP is installed to the registry and by running php.exe and php-cgi.exe manually I discovered this: PHP Warning: PHP Startup: bitset: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=1 PHP compiled with module API=20050922, debug=0, thread-safety=1 These options need to match in Unknown on line 0 ... an returns hundreds of them in a never-ending sea. Expected result: ---------------- The IIS server responding with index.php -OR- index.php5 Actual result: -------------- CGI Error: The CGI processor misbehaved by returning a incomplete set of headers. -OR- IE7: 404 - Internet Exploere cannot display the webpage. -OR- IE6: Invalid syntax error. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45693&edit=1