Bug #2169: File not found when using Apache DSO to activate libphp3.so (under apxs)
| From: | viking at iowa dot net | Date: | Thu, 26 Aug 1999 18:04:17 +0000 |
| Subject: | Bug #2169: File not found when using Apache DSO to activate libphp3.so (under apxs) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10238@lists.php.net to get a copy of this message | ||
From: viking@iowa.net
Operating system: Linux 2.0.30 (/w gcc 2.7.2.2)
PHP version: 3.0.12
PHP Bug Type: Dynamic loading related
Bug description: File not found when using Apache DSO to activate libphp3.so (under apxs)
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