|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17554 Library file not found
Submitted: 2002-06-01 12:55 UTC Modified: 2002-06-01 13:11 UTC
From: regan at protonic dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.2.1 OS: Windows 98
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: regan at protonic dot com
New email:
PHP Version: OS:


 [2002-06-01 12:55 UTC] regan at protonic dot com
I installed Apache 2 which runs fine on it's own but when I installed PHP as a module and I try and run my Apache 2 server I get the following error:

Syntax error on line 738 of C:/Programs Files/Apache Group/Apache2/conf/httpd.conf:
Cannot load C:/Server Apps/PHP/sapi/php4apache.dll into server: One of the library files needed to run this application cannot be found.

I am almost 100% sure that I have installed every file that is needed.  I downloaded the binary files for W32 and followed the instructions to the dot.  I also installed the lastest ODBC updates, etc from Microsoft.

The line that causes this error is:

LoadModule php4_module "C:/Server Apps/PHP/php4apache.dll"
AddModule mod_php4.c
AddType application/x-httpd-php .php

I don't understand if this is human error or if it is infact a bug.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-01 13:04 UTC]
You should use php4apache2.dll for Apache 2.
 [2002-06-01 13:05 UTC] regan at protonic dot com
Where do I obtain that file?
 [2002-06-01 13:11 UTC]
It's in the PHP 4.2.1 zip distribution.
 [2002-07-23 16:17 UTC] David_Pottier at Shaw dot Ca
I have had the same problem with both Apache 1.3 and 2

However with php4apache2.dll the error code was an even more severe problem with the way php4apache2.dll was compiled

Does anyone have the solution to the original problem that regan posted?
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Jan 27 18:03:49 2023 UTC