Re: [PHP] MySQL, PHP low-load problems

2001-04-20 Thread Rasmus Lerdorf
> We are using the following piece of code to connect to the dbase: > > if(!mysql_pconnect($db[$no]["host"],$db[$no]["user"],$db[$no]["pass"])){ > if(!mysql_connect($db[$no]["host"],$db[$no]["user"],$db[$no]["pass"])){ > die(error(55)); Could you explain why you are connecting like that? F

[PHP] MySQL, PHP low-load problems

2001-04-20 Thread Kees Hoekzema
Hi all, Live is strange sometimes, and so is this error we have here. I have a large forum (more then 300.000 pageviews a day) running. We are using php-4.04pl1 (with the Zend/zend_list.c file patched) and we are using MySQL 3.23.36-log. We are using the following piece of code to connect to th