ID:               39239
 User updated by:  marcos dot neves at gmail dot com
 Reported By:      marcos dot neves at gmail dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         MySQL related
 Operating System: FreeBSD 5.4-STABLE i386
 PHP Version:      5.1.6
 New Comment:

<?
mysql_pconnect(...); // just open a connection
?>

RUN the follow command on a mysql client:
SHOW PROCESSLIST

Since it´s persistent, that connection will be listed on PROCESSLIST.
If you run the script again, the same opened connection should be used
in place, and the timeout would be reset to zero. The problem is that a
new connection has been opened.

Please, tell me what more information can I give, cause the bug happens
only under my server.


Previous Comments:
------------------------------------------------------------------------

[2006-10-23 15:38:43] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




------------------------------------------------------------------------

[2006-10-23 15:30:28] marcos dot neves at gmail dot com

Description:
------------
Probably it´s the same bug of 38283, but with a newer version and a
different OS.

I try the same version on windows, and mysql_pconnect reuse the
connection as expected. But on two php instalations on two machines,
pconnect works as a simple mysql_connect.
The php.ini configuration are ok, and php is running as Apache Module,
as required for pconnect works.

FreeBSD 5.4-STABLE i386

apache-2.2.2_1 Version 2.2 of Apache web server with prefork MPM.

php5-5.1.6_2



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39239&edit=1

Reply via email to