note 15821 deleted from install.apache by victor

From: Date: Sat, 24 Aug 2002 14:33:07 +0000
Subject: note 15821 deleted from install.apache by victor
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-35461@lists.php.net to get a copy of this message
Apache Segmentation Faults with mysql + apache + mod_perl + php4 Just a heads up that if you are getting Apache Seg faults with this configuration it could be related to an old version of perl's DBD that was linked with an incompatible lib. Background: I had a working setup of apache+mod_perl+mysql. I upgraded mysql and added php4 (with --with-mysql enabled) into the mix. If I access the mysql database with mod_perl, Apache would produce a Segmentation fault. I tried all the variations of linking php4 with and without a DIR specified. The only real hint was that if I compiled php4 as --without-mysql, all mod_perl worked well. The Apache error log gave no hint that it was a DBI/DBD perl problem. After much sifting through mailing list I came across a solution from Doug MacEachern(of mod_perl fame), "you need to configure php using --with-mysql=/path/to/mysql where /path/to/mysql is the same mysql that dbd::mysql was compiled/linked against." That made perfect sense as the old DBD module had been linked with an older version of mysql. Good Luck

« previous php.notes (#35461) next »