mod_perl php4 DBI->connect MySQL bomb segfault solved.

From: Date: Wed, 01 Aug 2001 04:35:03 +0000
Subject: mod_perl php4 DBI->connect MySQL bomb segfault solved.
Groups: php.general php.general 
Request: Send a blank email to php-general+get-60624@lists.php.net to get a copy of this message
Apache mod_perl children were segfaulting on this: DBI->connect('DBI:mysql:irrelevant:irrelevant', 'irrelevant', 'irrelevant'); (Literally) I fixed it by recompiling Msql-Mysql-modules against a newer version of the MySQL client library. If you are suffering from this problem, make sure you don't have libmysqlclient.so.9 lying about. Easily diagnosed with "strace httpd -X" I guess the moral of the story is to delete all your old libraries when you upgrade your DB, and whip around recompiling everything that breaks (sometimes a brave move). This is fodder for the search engines, in case you couldn't tell. I'm crossing it to the PHP group because this problem has been mentioned there before, because it only crops up when PHP is compiled into Apache. -- _________________________________________________________________________ Andrew Donkin Waikato University, Hamilton, New Zealand

« previous php.general (#60624) next »