From: Operating system: Linux PHP version: 5.3.2 Package: Compile Failure Bug Type: Bug Bug description:PHP 5.3.2 + PDO MySQL not compatible with MySQL 4.0
Description: ------------ PHP 5.3.2 with PDO MySQL support cannot be built with MySQL 4.0. MYSQLND support added to ext/pdo_mysql/mysql_statement.c brakes old MySQL version support, file cannot be compiled. Some C macro conditionals probably incorrectly updated, so MySQL version don't have support for prepared statements cannot be used for building. I think this can be corrected by reorganizing some macro condinitional. I have created a patch to solve the problem but it probably needs some review and testing. Patch file attached. -- Edit bug report at http://bugs.php.net/bug.php?id=51259&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51259&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51259&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51259&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=51259&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51259&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51259&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51259&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51259&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51259&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51259&r=support Expected behavior: http://bugs.php.net/fix.php?id=51259&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51259&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51259&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51259&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51259&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=51259&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51259&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51259&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51259&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51259&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51259&r=mysqlcfg