Skip to main content

Need help in WHM for wordpress and MySQLi.

Comments

6 comments

  • Infopro
    Have you enabled it in EasyApache?
    0
  • anton_latvia
    I think you have not compiled MySQLi extension into PHP. You need to rebuild apache/php (with easyapache) and under "extended settings" select MySQLi. Also suggest that you include mbstring, mcrypt, zip, soap, PDO extensions.
    0
  • curtishogq
    hi there, I had already enabled and rebuild apache but still not working. - Removed -
    0
  • JacobPerkins
    Good morning, Your phpinfo.php file is showing that the file Loaded Configuration File /home/ishoppie/public_html/php.ini
    is loading your PHP extensions. Make sure you've added the mysqli extension in this file.
    0
  • curtishogq
    how do i add mysqli extention in that file sorry im new ><
    0
  • cPanelMichael
    ]how do i add mysqli extention in that file sorry im new ><

    You may want to simply delete or move the "/home/ishoppie/public_html/php.ini" file out of the way so that the account uses the default php.ini file found at /usr/local/lib/php.ini. EX:
    mv /home/ishoppie/public_html/php.ini /home/ishoppie/public_html/php.ini.backup
    Otherwise, you can use a command like this to determine which entries you should add to the user's individual php.ini file:
    grep mysqli /usr/local/lib/php.ini
    Thank you.
    0

Please sign in to leave a comment.