PHP missing MySQL extension

Status
Not open for further replies.

joemgap

Member
Messages
68
Reaction score
0
Points
6
After changing the PHP version to 7.0, I am getting this error:
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.


My first solution was reverted the PHP version back to 5.6 but I got the same error.
 
Last edited:

lylex10h

Active Member
Messages
982
Reaction score
71
Points
28
Go to "Select PHP Version" and make sure mysqli, mysqlnd and pdo_mysql are checked for PHP 7
 

lylex10h

Active Member
Messages
982
Reaction score
71
Points
28
Make sure the PHP 7 settings look like:
php7_settings.png

If that does not work, create .php file with the following code and post a link.
PHP:
<? phpinfo(); ?>
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63
If that does not work, create .php file with the following code and post a link.
do to the large security risk - for free-hosting accounts - x10hosting has disabled (blocked) these PHP Functions --> [exec] - [shell_exec] - [enable dl] - [system] - [passthru] - [phpinfo]
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
It shouldn't, and I wouldn't count on it working much longer. One does tend to see some config errors after server maintenance, and phpinfo() being enabled is definitely a config error here.
 

joemgap

Member
Messages
68
Reaction score
0
Points
6
Any admin here? I want a RESET on my account. Actually I did some cleaning in the file manager, maybe deleting everything I saw outside "public_html" folder may have caused this error after I changed my PHP version.
 
Status
Not open for further replies.
Top