1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice


Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by dasasd a, Apr 13, 2010.

  1. dasasd a

    dasasd a Guest


    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

  2. kevin anderson

    kevin anderson Guest

    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.
  3. dasasd a

    dasasd a Guest

    thanks for the tip.

    I found the package in centos is called php-pgsql