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.

odbc_connect() undefined

Discussion in 'General Discussion' started by kspsystems, Sep 30, 2014.

  1. kspsystems

    kspsystems Registered

    Joined:
    Sep 30, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I've installed Unix ODBC and FreeTDS, rebooted the server, and still getting this error:
    Fatal error: Call to undefined function odbc_connect() in....

    I've tried adding the extension to php.ini also, but that didn't help. Is there some reason why this doesn't work? I'm on PHP v. 5.4.28

    Thanks!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    kspsystems Registered

    Joined:
    Sep 30, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I was using "yum install ..."
    Are there issues with that method?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You will need to follow the instructions in the referenced thread, as Apache/PHP are handled through EasyApache on cPanel, not YUM.

    Thank you.
     
Loading...

Share This Page