[uklinux-status] mysql pconnect problems on s0
status@uklinux.net
status@uklinux.net
Fri, 15 Feb 2002 19:08:09 +0000 (GMT)
The php function mysql_pconnect has been disabled on s0 - the
free/standard account hosting server.
It has been causing us problems for a long time due to the connections
never timing out and not being re-used - these problems appear to have
been worse lately due to a few busy sites using pconnect. We have glad
scripts clear all connections hourly, and increased the number of
simultaneous open connections allowed but to no avail.
The effect of it being disabled is that any script that relies upon it
will fail to access the database.
Simply change mysql_pconnect() to mysql_connect() and all will work.
Lance