PHP 4.0 Bug #5464: While start Apache with SSL, libphp4.so generated error: undefined symbol
| From: | sgao at ebay dot com | Date: | Sat, 08 Jul 2000 15:36:13 +0000 |
| Subject: | PHP 4.0 Bug #5464: While start Apache with SSL, libphp4.so generated error: undefined symbol | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23818@lists.php.net to get a copy of this message | ||
From: sgao@ebay.com
Operating system: Red Hat 6.2 with kernel 2.4.0-test2
PHP version: 4.0 Release Candidate 2
PHP Bug Type: MySQL related
Bug description: While start Apache with SSL, libphp4.so generated error: undefined symbol
While starting Apache with SSL (PHP module loaded from the SSL group), libphp4.so generate error:
undefined symbol: mysql_field_count . then Apache will not start.
Compile modules are:
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/etc/httpd \
--enable-safe-mode \
--with-mysql=/usr/local/mysql \
--with-xml \
--with-openssl=/usr/local/ssl \
--enable-track-vars \
--with-system-regex \
--with-imap=/usr/local/imap-4.7c
MySQL version is mysql-3.23.21-beta-pc-linux-gnu-i686 from general binary package. Untarred and
moved
to /usr/local/mysql. The program runs fine.
The OS is Red Hat 6.2 with 2.4.0-test2 kernel installed.
In addition, libphp4 also generate another error, which is fixed by the following:
undefined symbol: gss_mech_krb5
load "export LD_PRELOAD=/usr/kerberos/lib/libgssapi_krb5.so" fixed the gss_mech_krb5
problem.
php.ini is the original one from php.ini-dist.