php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2169 File not found when using Apache DSO to activate libphp3.so (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 2.7.2.2)
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 \
--activate-module=src/modules/perl/libperl.a

I then used the following configure for php3.0.12:

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

When I do a "make install", the libphp3.so 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/libphp3.so...file not found".

Is the libphp3.so 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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/libphp3.so...file not found".

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

Jon


 [1999-08-28 06:14 UTC] sas at cvs dot php dot net
And /usr/local/apache/bin/libexec/libphp3.so 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] rasmus@php.net
No feedback for ages - resubmit if bug still appears in a current version of PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 05:01:29 2024 UTC