The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Call to undefined function pg_connect

Discussion in 'Database Discussions' started by Febin Joy, Mar 3, 2016.

  1. Febin Joy

    Febin Joy Registered

    Joined:
    Feb 18, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Trivandrum
    cPanel Access Level:
    Website Owner
    Fatal error: Call to undefined function pg_connect() in , I cant connect with my application
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello :),

    I can see postgresql support is not enable on your server with the php. Please contact your hosting provider and ask them to enable this. If you have root access then you can recompile php with the easyapche script.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Your access level suggests you do not have root access to this server. Please report this issue to your web hosting provider so they can verify if PostgreSQL is enabled on this server.

    Thank you.
     
Loading...

Share This Page