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!

Problem with PHP library mysqli.so

Discussion in 'General Discussion' started by ChrisRHS, May 5, 2009.

  1. ChrisRHS

    ChrisRHS Well-Known Member

    Joined:
    Jul 12, 2006
    Messages:
    292
    Likes Received:
    5
    Trophy Points:
    168
    Mysqli needs to be included when build apache using EasyApache. I believe it is in the exhaustive options catagory. You would need to be the server admin to enable this option, if you are not, I would suggest you request this addition from your hosting provider.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. helenamunoz

    helenamunoz Registered

    Joined:
    May 5, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    When I run my application I get an error saying: "Call to undefined function mysqli_connect() in ..."
    I looked in the loaded libraries and mysqli was not there, so I guess the problem is because of that.
    I dont know how to load mysqli library, because I dont know how to access php.ini from cPanel and the function dl() is not enabled due to security reasons.
    Is it possible to load it from a .htaccess file ? if so, how?
    Any other ideas on how to solve this?
    Thanks,
    Helena.
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You will need to have your server administrator compile Mysqli support into PHP via EasyApache.
     
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