#42625 [Opn-Asn]: When mysql and mysqli enabled both together, php CLI hangs when ZTS is enabled

2007-09-24 Thread jani
 ID:   42625
 Updated by:   [EMAIL PROTECTED]
 Reported By:  jama at mk dot cvut dot cz
-Status:   Open
+Status:   Assigned
 Bug Type: MySQL related
 Operating System: Gentoo/Linux
 PHP Version:  5.2.4
 Assigned To:  andrey


Previous Comments:


[2007-09-24 09:39:40] jama at mk dot cvut dot cz

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



[2007-09-22 08:47:41] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

I can't reproduce with MySQL 5.1.22



[2007-09-19 13:40:39] [EMAIL PROTECTED]

Propably some issue with the BETA mysql version used. Assigned to the
mysql maintainer. 



[2007-09-19 13:39:33] [EMAIL PROTECTED]

# mysql_config --version
5.0.27




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=42625edit=1


#42625 [Opn-Asn]: When mysql and mysqli enabled both together, php CLI hangs when ZTS is enabled

2007-09-19 Thread jani
 ID:   42625
 Updated by:   [EMAIL PROTECTED]
 Reported By:  jama at mk dot cvut dot cz
-Status:   Open
+Status:   Assigned
 Bug Type: MySQL related
 Operating System: Gentoo/Linux
 PHP Version:  5.2.4
-Assigned To:  
+Assigned To:  andrey
 New Comment:

Propably some issue with the BETA mysql version used. Assigned to the
mysql maintainer. 


Previous Comments:


[2007-09-19 13:39:33] [EMAIL PROTECTED]

# mysql_config --version
5.0.27




[2007-09-19 13:38:49] [EMAIL PROTECTED]

I can not reproduce this. 



[2007-09-13 09:38:38] jama at mk dot cvut dot cz

if
sapi/cgi/php-cgi -i
can be considered as CGI check, so it doesn't hang



[2007-09-13 05:27:08] jama at mk dot cvut dot cz

/usr/bin/mysql_config --version
5.1.15-beta

but with same mysql and php-5.2.2 it was OK.

CGI I'll try later.



[2007-09-13 04:42:14] [EMAIL PROTECTED]

Can you check CGI to see if you can reproduce this.

What version of libmysql are you linking against?



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=42625edit=1