Re: PHPs PDO, apache and "never ending sessions" - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: PHPs PDO, apache and "never ending sessions"
Date
Msg-id 20080307120951.10f09c39@commandprompt.com
Whole thread Raw
In response to Re: PHPs PDO, apache and "never ending sessions"  ("Andrej Ricnik-Bay" <andrej.groups@gmail.com>)
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 8 Mar 2008 09:06:22 +1300
"Andrej Ricnik-Bay" <andrej.groups@gmail.com> wrote:


> >  PDO::ATTR_PERSISTENT => true
> >
> >  Then... yeah :). You really shouldn't use a language layer for
> >  persistent connections though. Use pgbouncer or pgpool.

> Thanks Joshua.  It was indeed set to true;  I was playing with
> the "hatshop" database and application from the "Beginning
> PHP and  PostgreSQL E-Commerce" Apress book. And  found
> that config.php has "define('DB_PERSISTENCY', 'true');". Thanks
> for pointing me in the right direction.

That is what we are here for :). Glad we could help.

Joshua D. Drake




- -- 
The PostgreSQL Company since 1997: http://www.commandprompt.com/ 
PostgreSQL Community Conference: http://www.postgresqlconference.org/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL SPI Liaison | SPI Director |  PostgreSQL political pundit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH0aERATb/zqfZUUQRAnH+AJwPiWWeQrxP1O7YfE5E9lhKtyyanwCaAzTq
6Udd4wB5NIODtOqjlGnfGus=
=FllY
-----END PGP SIGNATURE-----

pgsql-general by date:

Previous
From: "Andrej Ricnik-Bay"
Date:
Subject: Re: PHPs PDO, apache and "never ending sessions"
Next
From: David Fetter
Date:
Subject: Re: ER Diagram design tools (Linux)