|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2169 File not found when using Apache DSO to activate (under apxs)
Submitted: 1999-08-26 14:04 UTC Modified: 2000-08-06 07:05 UTC
From: viking at iowa dot net Assigned:
Status: Closed Package: Dynamic loading
PHP Version: 3.0.12 OS: Linux 2.0.30 (/w gcc
Private report: No CVE-ID: None
 [1999-08-26 14:04 UTC] viking at iowa dot net
I first built Apache 1.3.9 with DSO and mod_perl support using the following configure:

./configure --prefix=/usr/local/apache \
--enable-module=most \
--enable-shared=max \
--add-module=mod_frontpage.c \

I then used the following configure for php3.0.12:

./configure --with-apxs=/usr/local/apache/bin/apxs \
            --with-mysql \

When I do a "make install", the module is properly copied
into the /usr/local/apache/bin/libexec/ directory.  The "php3.ini" file is
located in the standard /usr/local/lib directory and the LoadModule
and AddModule directives for PHP are properly placed in httpd.conf.

Upon restart of Apache 1.3.9, however, I get an error that says:
"Can't load /usr/local/apache/bin/libexec/ not found".

Is the trying to load any other files other than php3.ini?
All sources included a "make clean" to insure we were starting fresh.

When I revert back to a static compile...PHP works just fine (as part of
a 1.8 Mb httpd binary...mod_perl and php3 added in).

Anyone else seen this behavior?

Jon Backstrom


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-26 14:32 UTC] viking at iowa dot net
I mis-stated the path in my error message...should be:

Upon restart of Apache 1.3.9, however, I get an error that says:
"Can't load /usr/local/apache/libexec/ not found".

The files are all in the right place....just getting the error when restarting


 [1999-08-28 06:14 UTC] sas at cvs dot php dot net
And /usr/local/apache/bin/libexec/ really exists? You might want to strace Apache to find out what returns ENOENT. 

$ strace bin/httpd -X 2> log

 [2000-08-06 07:05 UTC]
No feedback for ages - resubmit if bug still appears in a current version of PHP.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Oct 23 06:01:24 2020 UTC