Problem with persistent SQL connections
Posted: Tue 11. May 2004, 09:45
Hello!
At least in include/inc_lib/default.inc.php you use pconnect to connect to database. This is problem with couple big webhotell organisation in Finland.
Do you have any patch to change phpWCMS to use connect instead of pconnect? Or could you tell is default.inc.php only place where you connect to SQL?
If there is no reasons to use persistent connections, I think it would be better to use standard database connections.
http://fi2.php.net/manual/fi/function.m ... onnect.php
http://fi2.php.net/manual/fi/function.mysql-connect.php
Thanks, Jakob
At least in include/inc_lib/default.inc.php you use pconnect to connect to database. This is problem with couple big webhotell organisation in Finland.
Do you have any patch to change phpWCMS to use connect instead of pconnect? Or could you tell is default.inc.php only place where you connect to SQL?
If there is no reasons to use persistent connections, I think it would be better to use standard database connections.
http://fi2.php.net/manual/fi/function.m ... onnect.php
http://fi2.php.net/manual/fi/function.mysql-connect.php
Thanks, Jakob