From: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
---|---|
To: | "Andrej Ricnik-Bay" <andrej(dot)groups(at)gmail(dot)com> |
Cc: | "PG-General Mailing List" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: PHPs PDO, apache and "never ending sessions" |
Date: | 2008-03-07 20:09:51 |
Message-ID: | 20080307120951.10f09c39@commandprompt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, 8 Mar 2008 09:06:22 +1300
"Andrej Ricnik-Bay" <andrej(dot)groups(at)gmail(dot)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-----
From | Date | Subject | |
---|---|---|---|
Next Message | Bjørn T Johansen | 2008-03-07 20:15:01 | Re: ER Diagram design tools (Linux) |
Previous Message | David Fetter | 2008-03-07 20:09:33 | Re: ER Diagram design tools (Linux) |