3 ms·
I've always had a lot of issues with mysql_pconnect in PHP. Hung connections, connection reuse causing data corruption, and various other random issues. Genera
by calloc 16y ago
I've always had a lot of issues with mysql_pconnect in PHP. Hung connections, connection reuse causing data corruption, and various other random issues.
Generally using just mysql_connect is faster than using mysql_pconnect. On the server I admin for a large website with millions of hits a day we don't use mysql_pconnect.