Re: [PHP-DB] PDOException: could not find driver (postgres)

2010-04-22 Thread Gary .
On 4/22/10, Niel Archer wrote: >> What could be causing this please? Going direct, using pg_connect, is >> not a problem. > Make sure you have the PDO > postgres driver enabled in your php.ini, it does not use the same driver > as the Postgres extension. Aha! Okay, thanks! It's working now... --

Re: [PHP-DB] PDOException: could not find driver (postgres)

2010-04-22 Thread Niel Archer
> What could be causing this please? Going direct, using pg_connect, is > not a problem. Seems like a simple missing driver problem. Make sure you have the PDO postgres driver enabled in your php.ini, it does not use the same driver as the Postgres extension. > The code in question looks like >