I am trying to connect to my database (remote server) which has PostgreSQL installed in it. My PHP code is trying to connect to the database using pg_connect(), but I get th
For php 5.4 on Centos 6.10, we include these lines in php.ini
extension=/opt/remi/php54/root/usr/lib64/php/modules/pdo.so extension=/opt/remi/php54/root/usr/lib64/php/modules/pgsql.so extension=/opt/remi/php54/root/usr/lib64/php/modules/pdo_pgsql.so
It works.