Re: [PHP-DB] problem with pconnect

2001-12-11 Thread Shane Wright
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

Re: [PHP-DB] problem with pconnect

2001-12-11 Thread Dobromir Velev
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

[PHP-DB] problem with pconnect

2001-12-11 Thread Markus Bruder
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