ID: 24704
Comment by: oswald at apachefriends dot org
Reported By: cmouse at quakenet dot org
Status: No Feedback
Bug Type: MySQL related
Operating System: Linux mordor 2.4.20-grsec #10 Th
PHP Version: 4.3.2
New Comment:

I can confirm the behaviour cmouse reported. I'm bothered by the same
problem. Using Apache 2.0.48, MySQL 4.0.16, and PHP 4.3.3 and Debian
2.2, Kernel 2.4.18.

Compiling PHP with bundled MySQL support works fine. But linked with
libmysqlclient I get the same problems: Everything works perfect until
pressing the "browse" button for a table in phpMyAdmin.

I'm not good in using debuggers and just tried to get some infos by
using strace and ltrace. But I didn't find something.

Here's the strace and ltrace output:


Both traces are from an Apache child answering the deadly "browse"

I noticed this behaviour firstly with the combination of PHP 4.3.2,
Apache 2.0.46 and MySQL 4.0.13. I never saw this error before.

Greetings and thanks!

Previous Comments:

[2003-07-23 22:29:22] [email][/email]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


[2003-07-18 06:00:18] [email][/email]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


[2003-07-18 05:34:45] cmouse at quakenet dot org

It seems that my PHP works grand without the MySQL 4.0.13 library.
Using the bundled library prevents any crashes in phpmyadmin. For some
reason, the external library crashes the system, when trying to browse
the database in phpmyadmin.

System => Linux mordor 2.4.20-grsec #10 Thu Apr 17 18:28:33 EEST 2003
Build Date => Jul 18 2003 13:22:57
Configure Command => './configure' '--prefix=/usr'
'--localstatedir=/var' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--with-apxs=/usr/bin/apxs'
'--enable-inline-optimization' '--with-mysql=/usr' '--enable-bcmath'
'--enable-calendar' '--enable-dba' '--enable-dbase' '--enable-dbx'
'--enable-dio' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf'
'--enable-mime-magic' '--enable-shmop' '--enable-sockets'
'--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm'
'--with-config-file-path=/etc/php4/apache' '--with-zlib' '--with-bz2'
'--with-dom' '--with-gd=/usr' '--with-jpeg' '--with-png-dir=/usr'
'--with-zlib-dir=/usr' '--with-t1lib=/usr' '--with-iconv=/usr'
'--with-java=/opt/j2sdk1.4.1_01' '--wi\
th-ldap=/usr' '--with-mcal=/usr' '--with-mcrypt=/usr'
'--with-mhash=/usr' '--with-recode=/usr' '--with-mm=/usr'
'--with-gdbm=/usr' '--enable-versioning' '--with-dom-xslt'
'--with-dom-exslt' '--with-gettext' '--with-ncurses' '--with-readline'
'--enable-shmop' '--enable-sysvmsg' '--enable-sysvsem'
'--enable-sysvshm' '--enable-xslt' '--with-xslt-sablot'
'--with-expat-dir=/usr' '--with-zip'

This is the compilation line I used

Reading specs from /usr/lib/gcc-lib/i386-linux/3.3/specs
Configured with: ../src/configure -v
--prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext
--enable-__cxa_atexit --enable-clocale=gnu --enable-debug
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
Thread model: posix
gcc version 3.3 (Debian)

MySQL configure:
'--prefix=/usr' '--with-comment' '--with-libwrap=/usr/lib'
'--with-mysqld-user=mysql' '--with-tcp-port=3306'
'--with-unix-socket-path=/var/run/mysqld/mysqld.sock' '--without-debug'
'--enable-thread-safe-client' '--enable-assembler' '--sysconfdir=/etc'
'--localstatedir=/var' '--mandir=/usr/share/man' '--without-pstack'


Edit this bug report at [url][/url]