Apache 2.0.39 and PHP 4.2.1 install problem (PHP won't let apache start)
| From: | Dash McElroy | Date: | Wed, 19 Jun 2002 01:02:26 +0000 |
| Subject: | Apache 2.0.39 and PHP 4.2.1 install problem (PHP won't let apache start) | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-14284@lists.php.net to get a copy of this message | ||
Due to the CERT notification about the Apache Web Server Chunk Handling
Vulnerability, I decided to update my Apache2 version from 2.0.35 to 2.0.39.
I have tried this on Win2000Pro SP2 and WinNT4 workstation SP6a.
The web server installs fine. PHP itself just comes from the zip file and I
put it in C:\PHP.
Here are the error messages I get.
* This one is from NT4.0 workstation SP6a:
_____
C:\Program Files\Apache Group\Apache2\bin>apache -t
Syntax error on line 173 of C:/Program Files/Apache
Group/Apache2/conf/httpd.con
f:
Cannot load C:/php/sapi/php4apache2.dll into server: The specified module
could
not be found.
C:\Program Files\Apache Group\Apache2\bin>
_____
* This is what Win2k tells me:
_____
C:\Program Files\Apache Group\Apache2\bin>apache -t
apache: module "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c" is not
compa
tible with this version of Apache.
Please contact the vendor for the correct version.
C:\Program Files\Apache Group\Apache2\bin>
_____
* When I try a net start apache2 (on both platforms) I get this:
_____
C:\Program Files\Apache Group\Apache2\bin>net start apache2
The Apache2 service is starting.
The Apache2 service could not be started.
A service specific error occurred: 1.
More help is available by typing NET HELPMSG 3547.
C:\Program Files\Apache Group\Apache2\bin>
_____
ACK!!!
Apache will serve up HTML pages fine if I take out all the PHP related items
in httpd.conf. Unfortunately, this does wonders for my PHP :). I have no
huge rush as this machine is my testbed for apache/PHP and I can easily load
2.0.35 again...
-Dash
Experience is what causes a person to make new mistakes instead of old ones.