#42625 [Fbk->Opn]: When mysql and mysqli enabled both together, php CLI hangs when ZTS is enabled
| From: | jama at mk dot cvut dot cz | Date: | Mon, 24 Sep 2007 09:39:45 +0000 |
| Subject: | #42625 [Fbk->Opn]: When mysql and mysqli enabled both together, php CLI hangs when ZTS is enabled | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-117794@lists.php.net to get a copy of this message | ||
ID: 42625
User updated by: jama at mk dot cvut dot cz
Reported By: jama at mk dot cvut dot cz
-Status: Feedback
+Status: Open
Bug Type: MySQL related
Operating System: Gentoo/Linux
PHP Version: 5.2.4
Assigned To: andrey
New Comment:
tested on php6.0-200709240630
mysqli OK
mysql+mysqli BAD
mysql+mysqlng OK
I created simple bash script for building and testing php snapshots for
this bug.
It's on
http://pastebin.com/m68372238
Runned in this case as
". ./test.sh php6.0-200709240630.tar.bz2 php6.0-200709240630
php6.0-200709240630"
Manualy killed when php -i was hanging on second test and result looks
like this:
# cat php6.0-200709240630.log
OK php6.0-200709240630-mysqli ./configure --disable-all
--enable-maintainer-zts --with-mysqli=/usr/bin/mysql_config
BAD php6.0-200709240630-mysqli-mysql ./configure --disable-all
--enable-maintainer-zts --with-mysql=/usr
--with-mysqli=/usr/bin/mysql_config
OK php6.0-200709240630-mysqli-mysqlng ./configure --disable-all
--enable-maintainer-zts --with-mysql=mysql --with-mysqli=mysqlnd
Previous Comments:
------------------------------------------------------------------------
[2007-09-22 08:47:41] andrey@php.net
Hi,
- can you try building PHP6?
- if still han gs, can you try building with mysqlnd (PHP6,
--with-mysqli=mysqlnd --with-mysql=mysql) and see if there is still a
problem
Andrey
------------------------------------------------------------------------
[2007-09-19 14:08:19] scottmac@php.net
I can't reproduce with MySQL 5.1.22
------------------------------------------------------------------------
[2007-09-19 13:40:39] jani@php.net
Propably some issue with the BETA mysql version used. Assigned to the
mysql maintainer.
------------------------------------------------------------------------
[2007-09-19 13:39:33] jani@php.net
# mysql_config --version
5.0.27
------------------------------------------------------------------------
[2007-09-19 13:38:49] jani@php.net
I can not reproduce this.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/42625
--
Edit this bug report at http://bugs.php.net/?id=42625&edit=1