Monday, November 18, 2013

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

Hi John, thanks for the reply.

I searched in the documentation for instruction on what you ask but I couldn't find it, you could perhaps provide a link. However I could check in the command line the modules installed, and indeed postgres is not present. I would appreciate some guidance on which modules to install and how to do it.

Thanks.

$ php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
mbstring
mhash
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]


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: