Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Fatal error: Call to undefined function oci_connect() in

Discussion in 'Database Discussion' started by manish294, Jan 13, 2017.

  1. manish294

    manish294 Member

    Joined:
    Jul 5, 2016
    Messages:
    24
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hello,

    We have Oracle server and one cPanel server. We are trying to connect to the Oracle database fro the cPanel server through script. But getting below error:

    Fatal error: Call to undefined function oci_connect() in/home/user/public_html/admin/include/conncection.php on line 3

    Can anyone tell if we can connect to Oracle database from cPanel server?
    Or is there anyway to enable oci_connect function in php or on cPanel server?

    Please help!!

    Thanks.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I believe the oci8 PECL module for PHP versions 7 and newer is what you are looking for. There's a thread on this topic at:

    oic8 Oracle

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. manish294

    manish294 Member

    Joined:
    Jul 5, 2016
    Messages:
    24
    Likes Received:
    3
    Trophy Points:
    3
    Location:
    India
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice