Re: PgSql PDO
| From: | Lester Caine | Date: | Sat, 12 Sep 2009 05:06:40 +0000 |
| Subject: | Re: PgSql PDO | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-46486@lists.php.net to get a copy of this message | ||
kranthi wrote:
I am not able to get this working... 1. pdo_pgsql.so exists in the extensions directory and is referenced in the ini file. 2. phpinfo() shows that support for both pgsql and pdo_pgsql is enabled. 3. PDO::getAvailableDrivers() lists pgsql as avilable driver. 4. I am able to connect via pgsql_connect() pdo_pgsql::_construct() is throwing an PDO_Exception "could not find driver" am I missing something here ? pls helpPerhaps you could show the code. You should be using =new rather than _construct() I think. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php