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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fatal error: Call to undefined function oci_connect() in

Discussion in 'Database Discussions' 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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  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