Search Postgresql Archives

Re: Persistent connections in PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 13 Aug 2007 09:44:26 -0500
Erik Jones <erik@xxxxxxxxxx> wrote:

> I'll agree with Scott on this one.  (Not that I can recall  
> specifically ever disagreeing with him before...).  Unless you
> know all of the potential caveats associated with php's persisent
> postgres connections and have a use case that fits them, don't use
> them.  If you need something to pool connections, look at pgpool.

Could elaborate a little on the problems with using php's persistent
connections?  

Personally I use ADODB php abstraction library (adodb.sf.net) for my
database stuff and I think there's a way to enable persistent
connections though I just use the default connection.  

I've heard before that php's persistent connections are to be
avoided, was just curious as to why though?

Thanks!

Josh

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux