• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PostgreSQL

D

dasasd a

Guest
Hello.

I'd just installed the Power Pack to get acces to Postgre database. I can now create postgre database, but when I want to conect it with php I get this message error: Call to undefined function pg_connect()

I think that php doesnt has postgre activated.

How can I solve it?

My server is:
CentOs 5.
Plesk 9.3

Thanks
Jose
 
You likely need only install the php5 module for pgsql. I am not sure what the package is for centos/yum , but its called php5-pgsql on debian.
 
thanks for the tip.

I found the package in centos is called php-pgsql
 
Back
Top