#36701 [Fbk->Opn]: pgsql driver
ID: 36701
User updated by: marcin at artigo dot pl
Reported By: marcin at artigo dot pl
-Status: Feedback
+Status: Open
Bug Type: PDO related
Operating System: win xp
PHP Version: 5CVS-2006-03-12 (snap)
New Comment:
pg_connect works fine and phpinfo says
PostgreSQL(libpq) Version 8.0.1
so i guess it is, isnt it?
Previous Comments:
------------------------------------------------------------------------
[2006-03-12 09:17:34] tony2001@php.net
And you do have Postgres client libraries installed, do you?
------------------------------------------------------------------------
[2006-03-12 00:41:11] marcin at artigo dot pl
Description:
------------
I cannot get pgsql driver to work
phpinfo says:
PDO drivers no value
PDO Driver for PostgreSQL enabled
Looks like for some reason pgsql driver isnt seen, while others seem to
work fine:
PDO drivers oci, firebird
As a result I cannot create a PDO object with pgsql DSN - an exception
is thrown - "could not find driver".
Tested with latest snap and pgsql 8.1
Reproduce code:
---------------
extension=php_pdo.dll
extension=php_pdo_pgsql.dll
Expected result:
----------------
Something like
PDO drivers pgsql
would be appreciated.
Actual result:
--------------
could not find driver
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36701&edit=1
Thread (9 messages)