From: | "Gavin M(dot) Roy" <gmr(at)ehpg(dot)net> |
---|---|
To: | "John Mohr" <jtmohr(at)healthconresources(dot)com> |
Cc: | <pgsql-php(at)postgresql(dot)org> |
Subject: | Re: PDO & PHP 5.1.2 |
Date: | 2006-02-03 20:15:51 |
Message-ID: | D8F1E3B1-B347-43B7-A1F1-B699D0778DC1@ehpg.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
Did you check phpinfo to make sure the pgsql driver is there? You
generally have to do --with-pdo-pgsql (I think is the switch).
Gavin
On Feb 3, 2006, at 12:08 PM, John Mohr wrote:
> I'm trying to use the PDO for postgres under PHP 5.1.2. I'm getting
> a "cannot find driver" on the connect. Format for DSN is:
>
> "pgsql:host=localhost port=5432 dbname=xxx" with the user and pw
> passed as separate parameters. This worked under 5.0.x.
>
> Under 5.0.x I had the separately compile and install pdo_pgsql
> driver. Under 5.1.2 it appears that it is getting it automagically.
> Does anyone have any suggestions?
>
>
Gavin M. Roy
800 Pound Gorilla
gmr(at)ehpg(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | operationsengineer1 | 2006-02-03 21:05:58 | Re: php and postgresql on windows |
Previous Message | John Mohr | 2006-02-03 20:08:51 | PDO & PHP 5.1.2 |