Win Installation Issue and Apache2 for Win
| From: | Mike Rathburn | Date: | Tue, 16 Dec 2003 20:44:17 +0000 |
| Subject: | Win Installation Issue and Apache2 for Win | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-12391@lists.php.net to get a copy of this message | ||
WinXP Home, SP1
Hi, I installed Apache 2.0.48 and PHP 4.3.4 installer package. Apache
worked flawlessly before attempting to install PHP. When I attempt to start
the Apache service after the PHP installation, the Event Viewer shows an
error of:
The Apache service named reported the following error:
>>> Cannot load C:/PHP/sapi/php4apache.dll into server: The specified module
could not be found. .
Per the installation instruction in install.txt that came with the Windows
binary installer, I made sure that the appropriate .dll's were in the
SYSTEMROOT folder, and also alongside where apache.exe is run from
(c:\program files\apache group\apache2\bin). In the c:\program files\apache
group\apache2\conf\httpd.conf file, I added per the install.txt:
### For PHP4 for windows:
#
LoadModule php4_module c:\php\sapi\php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
#
If I comment out the "AddModule mod_php4.c" portion, the Apache server
starts okay. It's only when it's not commented out. I looked all over for
the "mod_php4.c" file. Should there be one?
Testing of PHP fails with a simple page of <?php phpinfo();?>.
TIA.
-Mike R.