#37755 [Opn->Fbk]: mysqli extension fail with no error (nothing return)
| From: | sniper@php.net | Date: | Thu, 15 Jun 2006 12:05:21 +0000 |
| Subject: | #37755 [Opn->Fbk]: mysqli extension fail with no error (nothing return) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98392@lists.php.net to get a copy of this message | ||
ID: 37755
Updated by: sniper@php.net
Reported By: jesuslarag at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: MySQLi related
Operating System: linux fedora core 2.6.17rc6
PHP Version: 5.1.4
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2006-06-08 22:41:01] jesuslarag at gmail dot com
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 this bug report at http://bugs.php.net/?id=37755&edit=1