PHP 4.0 Bug #6995: [xref bug #6551] Compiling with --with-mysql=/path/to/mysql results in segfault

From: Date: Tue, 03 Oct 2000 20:08:50 +0000
Subject: PHP 4.0 Bug #6995: [xref bug #6551] Compiling with --with-mysql=/path/to/mysql results in segfault
Groups: php.dev 
Request: Send a blank email to php-dev+get-34133@lists.php.net to get a copy of this message
From: markc@liquidev.com Operating system: RedHat Linux 6.2 / Linux 2.2.14 PHP version: 4.0.3RC2 PHP Bug Type: *General Issues Bug description: [xref bug #6551] Compiling with --with-mysql=/path/to/mysql results in segfault [xref bug #6551] Summary: apache will not start (apachectl start) when the LoadModule directive for PHP is present. The only way to use PHP is to remove the directive, start apache, add the directive, and then restart apache (apachectl restart). Additionally, the php.ini file will not be loaded. The problem occurs when you're NOT using the built-in mysql library. I'm using the mysql-3.22.32 rpms from www.mysql.com. If I compile with --with-mysql=/usr, I get the bug described below. If I use the internal mysql library, I don't get the bug. The bug is causing a segmentation fault. gdb is confused afterwards, bt doesn't display anything useful.

« previous php.dev (#34133) next »