Resolved PHP version - issue with Wordpress

Status
Not open for further replies.

philx107

New Member
Messages
29
Reaction score
1
Points
3
When I log into my Wordpress site I get the following SiteHealthStatus message;


"Your site is running an outdated version of PHP (7.0.33), which requires an update
Security

PHP is the programming language used to build and maintain WordPress. Newer versions of PHP are faster and more secure, so staying up to date will help your site’s overall performance and security. The minimum recommended version of PHP is 7.3."

So I logged into my account here and updated from 7.0 to 7.3.

I then tried to log back into my Wordpress account and got the following message;

"Your PHP installation appears to be missing the MySQL extension which is required by WordPress."

So what do I do now????? I'm confused !!
 

Anna

I am just me
Staff member
Messages
11,750
Reaction score
581
Points
113
I can understand the confusion with changing php version, but in general you also need to enable the extensions needed.

As you can learn from that error message you would at lest need to enable one of the available mySQL related extensions, I'd suggest: mysqli and PDO, PDO_mysqli to start off with.

fileinfo, gd, imagick, zip, json, mbstring, mcrypt and sockets are other extensions that might be good to enable. There may be others needed for various scripts so this list should not be seen as a complete list in any way.
 

philx107

New Member
Messages
29
Reaction score
1
Points
3
HI Anna

Thank you for the reply.

Dumb follow up question :oops:;

How do I enable all of those things?
 

Anna

I am just me
Staff member
Messages
11,750
Reaction score
581
Points
113
On the same page as where you switch php version, there's a list of available extensions, just tick the box for the ones you want to enable.
 

philx107

New Member
Messages
29
Reaction score
1
Points
3
PDO was already on.

Switched on mysqli and pdo_mysqli and it worked.

Thank you

Stay Safe !
 

philx107

New Member
Messages
29
Reaction score
1
Points
3
interestingly, when I logged in, WPAdmim suggested switching on three other modules;

  • Warning The optional module, dom, is not installed, or has been disabled.
  • Warning The optional module, imagick, is not installed, or has been disabled.
  • Error The required module, gd, is not installed, or has been disabled.
So I've now added them on too.
 

Anna

I am just me
Staff member
Messages
11,750
Reaction score
581
Points
113
Yeah, most scripts are good at telling what they need, though not always in a very clear way.

Good to hear you got it working, I'll mark this as resolved then, but leave the thread open a couple days in case.
 
Status
Not open for further replies.
Top