php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2153 undefined symbol: mysql_module_entry when starting Apache
Submitted: 1999-08-25 16:58 UTC Modified: 1999-09-01 12:54 UTC
From: seth at psy dot au dot dk Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Beta 2 OS: Linux 2.2.5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: seth at psy dot au dot dk
New email:
PHP Version: OS:

 

 [1999-08-25 16:58 UTC] seth at psy dot au dot dk
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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-29 11:19 UTC] sas at cvs dot php dot net
A fresh PHP clean should help - you probably had some stale files lying around.
 [1999-09-01 12:54 UTC] seth at psy dot au dot dk
That did help remove this problem.  But now I cannot start Apache 1.3.9 at all!

If I compile WITHOUT --with-mysql then it works fine (as before).

If I try to compile with:  --with-mysql or --with-mysql=/usr

then I get no error messages, but Apache does not start either. )-:


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 24 07:00:01 2026 UTC