Hi... I'm in a bit of a jam.
I just switched a pretty major script over to the PHP/mySQL combo. This thing gets hit A LOT, but the hits are "small" (about 3K a piece).
I really banked on using mysql_pconnect() to save me on the connection time. My php.ini has mysql persistent links enabled, and unlimited by count (looking at phpinfo() confirms this).
But also in phpinfo() it shows that my current link count and persistent link count are never over 1. Sometimes they're both 0.
I am using PHP as an apache module (mod_php4), and using mysql_pconnect() in my code to get the connection. Also, my PHP was compiled to use builtin mySQL support, don't know if that matters. Ever since the switch the server's been very laggy, so I'm guessing that the persistent link thing isn't happening.
Any ideas? I'm running out of options.