Re: PHPs PDO, apache and "never ending sessions"
| От | Joshua D. Drake |
|---|---|
| Тема | Re: PHPs PDO, apache and "never ending sessions" |
| Дата | |
| Msg-id | 20080307120951.10f09c39@commandprompt.com обсуждение исходный текст |
| Ответ на | Re: PHPs PDO, apache and "never ending sessions" ("Andrej Ricnik-Bay" <andrej.groups@gmail.com>) |
| Список | 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 по дате отправления: