Monday, January 6, 2014

Re: How to connect to a postgres database with CakePHP?

Hello again,

I've managed to install the Postgres module:

$ php -m | grep pg
pdo_pgsql
pgsql

But I am still getting the same error message:

CakePHP is NOT able to connect to the database.

Database connection "Postgres" is missing, or could not be created.
Selected driver is not enabled

Any other hints are welcome. Thanks.

On Sunday, 17 November 2013 11:45:32 UTC+1, John Andersen wrote:
Hi Luis

Please check that the PostGres module has been loaded/activated in your web server.
Or run phpinfo(); and check that you can see Postgres module has been loaded and is available.
Kindly inform us of the result.

Kind regards
John

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: