#10969 [Com]: apache don't start, cannot load php4apache.dll
| From: | oralsex-site1868 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:03:57 +0000 |
| Subject: | #10969 [Com]: apache don't start, cannot load php4apache.dll | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62896@lists.php.net to get a copy of this message | ||
ID: 10969
Comment by: oralsex-site1868 at hotmail dot com
Reported By: ipcholkin at yahoo dot com
Status: Bogus
Bug Type: Apache related
Operating System: Win 98
PHP Version: 4.0.5
New Comment:
<a href=http://adult-india-oralsex.da.ru>oralsex
site</a>
Previous Comments:
------------------------------------------------------------------------
[2003-10-19 13:55:45] bugs dot php dot net at solle dot net
I had the same problem -- the httpd.conf syntax was fine, but
php4apache.dll refused to load.
Suspecting a dependency issue, I fired up Dependency Walker. Sure
enough, neither of the two DLLs it relies on ...
APACHECORE.DLL
PHP4TS.DLL
... were in the search path. Guessing that Apache knew where to find
its DLL, I copied PHP4TS.DLL alongside it, and suddenly everything
started behaving.
Hope that helps,
Sean.
------------------------------------------------------------------------
[2001-05-23 16:29:25] ipcholkin at yahoo dot com
I found what the error was:
Apache could not find odbc32.dll.
After I installed this library the server started normally.
------------------------------------------------------------------------
[2001-05-19 10:14:54] ipcholkin at yahoo dot com
When I try to start apache, it says:
"Syntax error on line 979 of k:/apache/apache/conf/httpd.conf:
Cannot load k:/apache/apache/modules/mod_php4/sapi/php4apache.dll into
server: (
1157)"
Added lines in apache.conf are:
-------CUT HERE------------
# for the apache module
LoadModule php4_module modules/mod_php4/sapi/php4apache.dll
AddType application/x-httpd-php .php4
#for the cgi binary (you can use that one compiled with force cgi
redirect too)
ScriptAlias /php4/ "k:/apache/apache/modules/mod_php4/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4 .php
-------CUT HERE------------
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=10969&edit=1