Do you need to replace the PHP model of your WordPress web site?
Utilizing the newest model of PHP in WordPress can considerably enhance your web site’s efficiency and consumer expertise. Many website hosting suppliers make the replace course of relatively straightforward, however you might must verify a number of issues earlier than doing it.
On this article, we are going to present you methods to simply replace the PHP model of your WordPress web site.
Why Replace PHP Model in WordPress?
Updating your WordPress web site’s PHP model can increase your web site’s efficiency.
You see, WordPress is developed utilizing an open-source programming language referred to as PHP. On the time of writing this text, it requires no less than PHP 7.4 or larger.
New PHP variations normally include patches for safety vulnerabilities and bugs, defending your web site towards malware and hackers. It additionally contains new options to make working processes a lot sooner and cut back reminiscence utilization.
Due to this, we strongly advocate updating your WordPress to the newest secure model of PHP. On the time of writing this text, that’s PHP 8.3.2.
If you happen to use an older PHP model, your web site could also be much less safe, slower, and susceptible to errors as a consequence of compatibility points with WordPress core, plugin, or theme. You may study extra about this matter in our article about how PHP updates by your internet host influence WordPress.
Fortunately, most WordPress internet hosting firms try to supply the most recent PHP variations to satisfy WordPress’ necessities. They might additionally mechanically replace PHP behind-the-scenes and you might not discover any change.
That mentioned, we recommend maintaining up-to-date with the newest PHP information. Test what sort of options or adjustments might have an effect on your WordPress web site. A plugin, theme, or software program might not work after the replace and you need to change again to an older model of PHP within the meantime.
With that in thoughts, let’s take a look at how one can verify your present PHP model in WordPress. We will even present you a step-by-step tutorial on methods to replace your PHP model in numerous internet hosting suppliers.
Easy methods to Test Your Present PHP Model in WordPress
WordPress makes it straightforward to verify the model of PHP utilized by your host. What you should do is log in to your admin dashboard and head to the Instruments » Website Well being web page.
Then, change to the ‘Information’ tab.

Subsequent, you should scroll down a bit and click on to increase the ‘Server’ tab. This part exhibits your server’s system data, together with its PHP model.
As you possibly can see within the screenshot, our demo web site makes use of PHP model 8.1.

What to Do Earlier than Updating PHP in WordPress
As with every updates, you need to be certain your reside web site received’t expertise any errors earlier than making the adjustments official. Because of this, you should do the next earlier than updating your PHP model:
Replace WordPress core, themes, and plugins – Doing this could guarantee they will function successfully with the brand new PHP. Should-have WordPress plugins from respected builders will normally be readily suitable with newer variations of PHP.
Again up your web site – Use a backup plugin like Duplicator to create a web site backup in case of points. You may simply restore your web site to an error-free model if catastrophe strikes.
Create a staging web site – We advocate attempting to replace your PHP in a staging surroundings in order that any errors brought on by the brand new PHP model received’t have an effect on your reside web site.
Use the PHP Compatibility Checker plugin – Created by WP Engine, this plugin can establish potential points which will come up from the brand new PHP model.
Easy methods to Replace Your PHP Model in Bluehost
First, you should log in to your Bluehost internet hosting account’s management panel and click on on the ‘Web sites’ tab within the left column.
After that, choose the web site whose PHP model you’d wish to replace, and click on the ‘Settings’ button.

Now, go forward and change to the ‘Settings’ tab.
That is the place you possibly can see and configure the superior settings of your WordPress weblog or web site.

What you should do now’s scroll all the way down to the PHP Model part.
After that, click on ‘Change’ subsequent to your present PHP model.

Now, go forward and choose the PHP model you need to replace to. Then, merely click on the ‘Change’ button.
Bluehost will now begin utilizing the chosen PHP model on your web site.

Easy methods to Replace Your PHP Model in Hostinger
First, log in to your Hostinger account dashboard and change to the ‘Web sites’ tab.
From right here, you should click on the ‘Handle’ button subsequent to the web site the place you need to change the PHP model.
This can take you to that individual web site’s dashboard.

Subsequent, find the ‘PHP Configuration’ tab underneath the Superior menu from the left sidebar.
Hostinger will now present you obtainable and supported PHP variations to select from.
Choose the PHP model you need to use and click on the ‘Replace’ button to save lots of your settings.

A popup will seem asking you to substantiate your web site, weblog, or on-line retailer’s PHP replace.
Merely click on ‘Affirm’ to proceed.

Easy methods to Replace Your PHP Model in SiteGround
If you’re utilizing SiteGround, then right here is how you’ll replace the PHP model of your WordPress web site.
First, you should log in to your SiteGround account dashboard.
After that, go to the ‘My web sites and companies’ part and click on the ‘Handle’ button inside Web sites.

You’ll now arrive on the My Web sites web page.
Simply click on on the ‘Website Instruments’ button underneath the web site you need to replace the PHP model in.

Subsequent, you should choose the ‘PHP Supervisor’ menu contained in the ‘Devs’ part from the left column.
From right here, you possibly can scroll all the way down to the PHP Model tab and click on the pencil button subsequent to your PHP model.

This can convey up a popup. You first want to pick out ‘Change PHP model manually’ underneath the ‘Set PHP Model’ choice.
After that, it is possible for you to to pick out your PHP model from a dropdown menu.
Don’t overlook to click on on the ‘Affirm’ button to use your adjustments.

Easy methods to Replace Your PHP Model in HostGator
What you should do first is log in to your HostGator internet hosting account dashboard and click on on the ‘Web sites’ part.
After that, click on the ‘Settings’ button on the web site whose PHP model you need to replace.

Subsequent, merely change to the ‘Settings’ tab.
On this part, you possibly can handle your web site’s superior settings.

At this stage, simply scroll all the way down to the PHP Model part.
Then, click on ‘Change’ subsequent to your present PHP model.

You will notice a popup asking you to pick out the PHP model you need to replace to.
When you’ve made your alternative, simply click on the ‘Change’ button.

Easy methods to Replace Your PHP Model in DreamHost
If you’re a DreamHost consumer, you should log in to your internet hosting account’s management panel. After that, navigate to the ‘Handle Web sites’ tab from the left-side panel.
On the record of internet sites, simply click on the three-dot menu and select ‘PHP Model.’

You’ll be directed to the PHP settings web page contained in the management panel.
Go forward and select a PHP model from the dropdown menu. Then, click on ‘Change PHP Model’ to proceed with the replace.

Easy methods to Replace Your PHP Model in WP Engine
WP Engine is a managed WordPress internet hosting firm, which implies they mechanically improve the PHP model for you. Nevertheless, you can even manually improve and downgrade the PHP model on your web sites.
Merely log in to your WP Engine dashboard. On the ‘My Websites’ web page, click on on the PHP model subsequent to your chosen web site.

This can convey you to your web site’s Overview settings. Right here, WP Engine has a characteristic the place you possibly can preview your web site on the newest PHP model with out truly altering the PHP model.
If you wish to attempt it out, go forward and click on ‘Preview PHP …’

To really replace PHP in WP Engine, scroll all the way down to the ‘Updates’ part.
Then, click on on the PHP model quantity hyperlink.

Now, simply select the ‘Improve to PHP … ‘ choice.
After that, click on on the ‘Affirm’ button.

Easy methods to Replace Your PHP Model in Different WordPress Internet hosting Suppliers
Most WordPress internet hosting suppliers set up their settings in a kind of comparable manner. You’ll most probably discover the choice to vary a PHP model within the superior settings of your cPanel or every other internet hosting management panel.
If you happen to can’t discover it, then you possibly can verify your supplier’s data base or contact their assist group to vary the PHP model of your web site. For extra data, you possibly can take a look at our article on methods to ask for WordPress assist.
Altering PHP Variations in WordPress: Steadily Requested Questions
Now that we’ve mentioned methods to replace your PHP model in WordPress, let’s cowl some incessantly requested questions concerning the matter.
What do you have to do after updating the PHP model?
After updating the PHP model on your WordPress web site, you might need to make sure that all the pieces is working as anticipated. We advocate visiting your web site to see if there are any instantly noticeable points.
After that, you possibly can log in to the WordPress admin space of your web site. Guarantee your web site makes use of the newest model of WordPress and all of your plugins and themes are up to date.
See our newbie’s information on methods to safely replace WordPress for extra data.
What do I do if a PHP replace breaks my WordPress web site?
It’s unlikely {that a} PHP replace will break a WordPress web site. Nevertheless, with the abundance of free and premium plugins, there’s nonetheless an opportunity {that a} single line of poor code may end up in any of the widespread WordPress errors.
First, you need to guarantee it isn’t a plugin or theme inflicting this error. To try this, you should deactivate all of your WordPress plugins and change to a default WordPress theme.
If this doesn’t clear up your problem, then contact your internet host’s assist group. There’s a good probability that the problem you might be dealing with will already be on their radar, and they’ll be capable of help you.
In case your internet host is unable that will help you out, then you possibly can downgrade your PHP model utilizing the strategies described above.
We hope this text helped you discover ways to replace the PHP model of your WordPress web site. You might also need to see our record of the quickest WordPress internet hosting suppliers in the marketplace or our final WordPress website positioning information to spice up your search engine rankings.
If you happen to appreciated this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You too can discover us on Twitter and Fb.


