Hi Markus
I assume you're using Apache with PHP installed as a DSO? If not ignore my
ramblings...
AFAIK, the persistent connections are per-process - i.e. each Apache process
gets its own [set of] persistent processes.
But when you connect to apache, you rarely get the same process as you go
Subject: [PHP-DB] problem with pconnect
>Hello all,
>
>I used to following test-script to analyze my problems with
>sleeping-MySQL-pconnects:
>
>Script:
>require ('database.php');
>$sql = "insert into ...";
>$res = query($sql);
>ec
Hello all,
I used to following test-script to analyze my problems with
sleeping-MySQL-pconnects:
Script:
...";
$res = query($sql);
echo "\">";
?>
Required file (database.php):
";
$username = "";
$password = "";
$database = "";
$connect = mysql_pconnect("$hostname","$usern