go to bug id or search bugs for
I have php 4.3.0, compiled with external mysql client 3.23.54. There is a problem with mysql_pconnect(). Sometimes it's impossible to connect ( Lost connection to mysql server ). If mysql_connect is used, there isn't problem any more. There wasn't problem in php 4.2.3 with the same mysql client.
Add a Patch
Add a Pull Request
Yeah I am getting the same problem :(
This is what error I get:
Warning: mysql_pconnect() [function.mysql-pconnect]: Link to server lost, unable to reconnect
And I also get it to work now and then.
As far as I know these are the servers info:
OS is Redhat Linux Im not too sure on the version.
mySQL is version 3.23.54
PHP is version 4.3.0
Apache is version 1.3.26
It was all working fine until version 4.3.0 was installed :(
Thanks in advance
Verified, assigned to myself.
You didn't assign it :-)
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
I have PHP 4.3.1 running on Solaris 8 - same error. When I
switch to non-persistent connections it works fine. About
to test PHP 4.3.2