php.net |  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-01 13:04 UTC] edink@php.net
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] edink@php.net
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-2022 The PHP Group
All rights reserved.
Last updated: Thu Dec 01 14:05:55 2022 UTC