Need help in WHM for wordpress and MySQLi.

curtishogq

Registered
Jan 13, 2015
3
0
1
cPanel Access Level
Root Administrator
Hi guys, i have problem with wordpress and MySQLi, i cant load wordpress or MySQLi for opencart in cpanel. please help. i dont know where to find support for this. Please help :(
 

anton_latvia

Well-Known Member
PartnerNOC
May 11, 2004
399
12
168
Latvia
cPanel Access Level
Root Administrator
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
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:

Code:
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:

Code:
grep mysqli /usr/local/lib/php.ini
Thank you.