|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
50 + 37 = ?
Subscribe to this entry?

 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 21:01:31 2024 UTC