Re: [PHP] Persistent Database Connections

2005-05-02 Thread Jochem Maas
Michael Phillipson wrote: [Please note that even though I cite Interbase in my example, I believe my question can be generalized to all databases that allow persistent connections] I recently installed a trial version of Interbase on a development server firebird-loon have you tried the free

Re: [PHP] Persistent Database Connections

2005-04-26 Thread Michael Phillipson
Thanks, Philip (and Richard also), for offering your impressions. Per Philip's suggestion, I ran ab (Apache Benchmark) to stress test the page that loads my persistent connection. Depending on the parameters I set for ab, I was able to increase the number of connections from my initial 9 to

Re: [PHP] Persistent Database Connections

2005-04-25 Thread Philip Hallstrom
I recently installed a trial version of Interbase on a development server that includes a nifty tool that allows me to monitor, among other things, the number of active connections to my server. After playing with this feature briefly, I noticed that SEVERAL connections are opened between my web

Re: [PHP] Persistent Database Connections

2005-04-25 Thread Richard Lynch
On Mon, April 25, 2005 1:40 pm, Michael Phillipson said: What I am baffled by is the fact that the total nunber of connections between the web server and my database seems to max out at 9. Why 9? Either you never had more than 9 users at one time during your test, so only 9 Apache children

RE: [PHP] Persistent database connections in PHP

2003-09-05 Thread Cody Phanekham
do people even look at the manual? or search the php.net website? http://au2.php.net/manual/en/ref.mysql.php Runtime Configuration The behaviour of these functions is affected by settings in php.ini. Here's a short explanation of the configuration directives. mysql.allow_persistent boolean

RE: [PHP] Persistent database connections in PHP

2003-09-05 Thread Cody Phanekham
ooppss forgot this as well... http://au2.php.net/mysql_pconnect -Original Message- From: Cody Phanekham Sent: Friday, 5 September 2003 16:06 To: [EMAIL PROTECTED] Subject: RE: [PHP] Persistent database connections in PHP do people even look at the manual? or search the php.net

Re: [PHP] Persistent database connections in PHP

2003-09-05 Thread murugesan
] Persistent database connections in PHP I haven't heard of persistent connections with MySQL before, and I think is because PHP can't handle it. PHP will connect to the DB every time it has to. Are you really that annoyed for that 0.0003 second that it probably takes your pages to connect to the DB

Re: [PHP] Persistent database connections in PHP

2003-09-05 Thread Mika Tuupola
On Fri, 5 Sep 2003, Shivanischal wrote: I wanted help on how to achieve persistent database connections in PHP. The database i use is MySQL. I would be grateful if u could also guide me to resources that tell me how to do it. http://www.php.net/manual/en/function.mysql-pconnect.php

RE: [PHP] Persistent database connections in PHP

2003-09-04 Thread Cesar Aracena
I haven't heard of persistent connections with MySQL before, and I think is because PHP can't handle it. PHP will connect to the DB every time it has to. Are you really that annoyed for that 0.0003 second that it probably takes your pages to connect to the DB? What I do to manage just ONE