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.

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:
    18
    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.
     
  2. helenamunoz

    helenamunoz Registered

    Joined:
    May 5, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    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,279
    Likes Received:
    8
    Trophy Points:
    38
    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