Persistent connections in PHP with PDO

From: "Alan T(dot) Miller" <amiller(at)onlinebrands(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Persistent connections in PHP with PDO
Date: 2007-01-15 12:06:55
Message-ID: 45AB6E5F.3060504@onlinebrands.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Has anyone played around with the new PHP ODO drivers and been able to
successfully set up an object using persistent connections? I tried to
follow the documentation in the PHP manual to send an array in the PDO
constructor but receive a warning message that the underlying driver
does not support this. I mucked around in the source code for the driver
in the PHP source tree and it appears there is no facility in the driver
for sending such options, which leaves me to wonder if you simply set
the php.ini value to support persistent connections that would be all
you need to do? Can anyone shed any light on this problem? There seems
to be little if any documentation on this.

Thanks in advance.

Alan

Browse pgsql-general by date

  From Date Subject
Next Message Moritz Bayer 2007-01-15 12:18:11 check table existence...
Previous Message Alban Hertroys 2007-01-15 11:49:03 Re: Performance with very large tables