Quantcast
Channel: BitNami Answers - latest questions
Viewing all articles
Browse latest Browse all 2052

"The pgsql driver is not currently installed"

$
0
0

I'm using Zend Framework on Bitnami. When I navigate to a controller using a model that calls a fetchAll method from the database I get the error:

Application error
Exception information:
Message: The pgsql driver is not currently installed

I have the pdo adapter.

$ sudo find . | grep pdo_pgsql.so
./opt/bitnami/postgresql/php-extensions/pdo_pgsql.so
./opt/bitnami/php/lib/php/extensions/pdo_pgsql.so

These lines are enabled in the php.ini, and the php.ini is the same one listed in my phpinfo().

extension=pgsql.so
extension=pdo_pgsql.so

My application.ini looks like this (omitting the user, pass, host lines):

db.adapter = "PDO_PGSQL"
db.isdefaultableadapter = true
db.params.dbname = ""
db.params.charset = "UTF8"

My phpinfo() doesn't show any pgsql settings, nor that the pdo adapter is available. This is odd being that it's clearly there.


Viewing all articles
Browse latest Browse all 2052

Trending Articles