From: jesuslarag at gmail dot com Operating system: linux fedora core 2.6.17rc6 PHP version: 5.1.4 PHP Bug Type: MySQLi related Bug description: mysqli extension fail with no error (nothing return)
Description: ------------ Compile PHP 5.14 With --with-mysql and --with-mysqli=/usr/local/mysql/bin/mysql_config support against mysql 5.1.9-beta fail with no error. make (correct) make test (correct - edit constant.inc in /ext/mysqli/tests) php 5.14 compile and install with no problem php.ini is php.ini.dist with no changes. mysqli_connect (connect well with no error)... mysqli_get_host_info return nothing. mysqli_client_info return 5.19-beta (is well)... mysqli_query always fail, but mysql_errno return 0000 mysql extension and pdo-mysql works well always... Reproduce code: --------------- Linux fedora Core 5 - kernel 2.6.17rc6 - library mm, mhash update from yum (rpm repository). compile mysql-5.19-beta: ./configure --with-innodb --enable-shared --enable-static --with-gnu-ld --with-embedded-server compile php 5.14: ./configure --with-mod-charset --enable-fastcgi --with-mysql=/usr/local/mysql --with-mysql-sock=/tmp/mysql.sock --with-mysqli=/usr/local/mysql/bin/mysql_config (edit Makefile to resume EXTRA_LIBS). Expected result: ---------------- when run mysqli_fetch, mysqli_query, mysqli_get_host_info, don't work (no data return, but mysqli_errno return 0000); mysql extension always run well... -- Edit bug report at http://bugs.php.net/?id=37755&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37755&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37755&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37755&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37755&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37755&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37755&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37755&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37755&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37755&r=support Expected behavior: http://bugs.php.net/fix.php?id=37755&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37755&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37755&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37755&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37755&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37755&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37755&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37755&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37755&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37755&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37755&r=mysqlcfg