mlewis Posted June 21, 2006 Share Posted June 21, 2006 Hello now on Linux I get the following Warning: mysql_pconnect() has been disabled for security reasons in /home/ipcas/public_html/catalog/includes/functions/database.php on line 17 Unable to connect to database server! The line in question is if (USE_PCONNECT == 'true') { $$link = mysql_pconnect($server, $username, $password); } else { $$link = mysql_connect($server, $username, $password); } What to do? Link to comment Share on other sites More sharing options...
spax Posted June 21, 2006 Share Posted June 21, 2006 You have enabled persistent connections. Download your 2 configure.php files and edit them so they read: define('USE_PCONNECT', 'false'); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.