From: bhattacharjee at avaya dot com Operating system: linux 2.1 enterprise PHP version: 4.4.7 PHP Bug Type: MySQL related Bug description: getting segmentation fault(page cant be displayed) after upgrading to mysql 4.1
Description: ------------ We are using php4.4.7 with apache 2 on linux 2.x having mysql as database. Recently upgraded mysql to 4.1.21 from 4.0.27 & since then started getting segmentation fault, & on the web site page cant be displayed. we tried to downgrade to mysql 4.0.27 again but the mysql client API doesnot change. After downgrading When we are checking the version from prompt with mysqladmin then its showing 4.0. but when we check it on phpinfo.php then it gives client api of 4.1.21. Again we upgraded to mysql enterprise 5.0.46 & facing the same problem. The steps we follow is, Install mysql (from binary, copying the files to /usr/local/mysql) & then configure & make, make install for php. Any quick assistance on this issue is greatly appreciated. Expected result: ---------------- Our expectation is that either php 4.4.7 should work with mysql 5 or we should go back to mysql 4.0.27 which currently not happening as we see on phpinfo.php. -- Edit bug report at http://bugs.php.net/?id=43159&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43159&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43159&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43159&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43159&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43159&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43159&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43159&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=43159&r=needscript Try newer version: http://bugs.php.net/fix.php?id=43159&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43159&r=support Expected behavior: http://bugs.php.net/fix.php?id=43159&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43159&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43159&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43159&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43159&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43159&r=dst IIS Stability: http://bugs.php.net/fix.php?id=43159&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43159&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43159&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43159&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=43159&r=mysqlcfg