mysql_pconnect with suPHP

frankc420

Verified User
Joined
Jul 31, 2007
Messages
59
When I recompile PHP with suPHP (CGI) any websites that I host that use mysql_pconnect stop working. I was under the assumption that when I disable the persistent connections in the master php.ini (mysql.allow_persistent = Off) that these sites would still be able to use mysql_pconnect but it wouldn't do persistent connections.

Am I going to need to update the config files of all of these sites to not use mysql_pconnect or is there a workaround? I do not have it disabled with disable_functions.
 
The answer came to me in a dream.

I have multiple instances of MySQL on my server so I have to define the default port and socket.
 
Back
Top