FW: [PHP-DEV] PHP 4.0 Bug #4234: Apache fails to load libphp4.so: libmysqlclient.so.6 cannot open shared object
| From: | Karen Liu | Date: | Wed, 26 Apr 2000 02:32:49 +0000 |
| Subject: | FW: [PHP-DEV] PHP 4.0 Bug #4234: Apache fails to load libphp4.so: libmysqlclient.so.6 cannot open shared object | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18191@lists.php.net to get a copy of this message | ||
-----Original Message-----
From: info@karenliu.com [mailto:info@karenliu.com]
Sent: Tuesday, April 25, 2000 12:30 PM
To: php-dev@lists.php.net
Subject: [PHP-DEV] PHP 4.0 Bug #4234: Apache fails to load libphp4.so:
libmysqlclient.so.6 cannot open shared object
From: info@karenliu.com
Operating system: Redhat Linux 6.2
PHP version: 4.0 Release Candidate 1
PHP Bug Type: MySQL related
Bug description: Apache fails to load libphp4.so: libmysqlclient.so.6
cannot open shared object
I built Apache with both PHP3 and PHP4 + MySQL.
Same MySQL setting "--with-mysql=/usr/local" was used in both PHP3 and PHP4.
Compilation seems ok, but when tried to start Apache, it returns error to
load libphp4.so:
Syntax error on line 207 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/libexec/libphp4.so into server:
libmysqlclient.so.6: cannot open shared object file: No such file or
directory
When I commented out the line for "libphp4.so", the Apache starts fine with
just "libphp3.so"
LoadModule php4_module libexec/libphp4.so
LoadModule php3_module libexec/libphp3.so
Looking into the libexec directory, both libphp4.so and libphp3.so are
there, and libmysqlclient.so.6 is also ok in
/usr/local/lib/mysql/libmysqlclient.so.6
Please advise.
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
For additional commands, e-mail: php-dev-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net