PHP 4.0 Bug #2153: undefined symbol: mysql_module_entry when starting Apache

From: Date: Wed, 25 Aug 1999 20:58:31 +0000
Subject: PHP 4.0 Bug #2153: undefined symbol: mysql_module_entry when starting Apache
Groups: php.dev 
Request: Send a blank email to php-dev+get-10199@lists.php.net to get a copy of this message
From: seth@psy.au.dk Operating system: Linux 2.2.5 PHP version: 4.0 Beta 2 PHP Bug Type: Reproduceable crash Bug description: undefined symbol: mysql_module_entry when starting Apache 1. Compile with: export CFLAGS="-fPIC $RPM_OPT_FLAGS" export LDFLAGS=-s sh ./configure --with-apxs=/usr/sbin/apxs \ --prefix=/usr \ --with-config-file-path=/etc/httpd \ --enable-magic-quotes \ --enable-memory-limit \ --enable-safe-mode \ --with-sybase=/opt/sybase \ --with-mysql=/usr \ --with-gettext=/usr \ --enable-track-vars 2. Try to start Apache 1.3.9 3. Get: Cannot load /usr/libexec/apache/libphp4.so into server: /usr/libexec/apache/libphp4.so: undefined symbol: mysql_module_entry 4. Other facts: mysql-3.22.23b php-3.0.12 loads (and can use mysql functions) It is possible to load php4 if mysql is not compiled in.

« previous php.dev (#10199) next »