Re: PgSql PDO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 help

Perhaps 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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux