Update your PHP

Before you update your PHP version # Before you update your PHP version

This section starts off with some warnings, but don’t be afraid! As with most things technical, we just need to cover some background before we can get to the part where you update your PHP version.

Updating your PHP version should not be a problem, but we can’t guarantee that it’s not. WordPress itself works with PHP versions as far back as 5.6.20 (we’re currently recommending version 7.3, so this is great backward compatibility!), but we don’t know if your themes or plugins will work. They should, and popular or reputable ones almost certainly will be, but we can’t guarantee it.

There are a couple of steps you should take to mitigate any risk before proceeding:

  • Make a backup of your website: a backup will let you revert your site to how it is right now in the event anything goes wrong. There are plenty of free backup plugins available, so if you don’t have a backup solution already – use one of these. In order to revert this backup, you’ll also need your web host to move your PHP version back to your current version (we’ll cover how to do this later).
  • Update WordPress, themes, and plugins: from your WordPress Dashboard, head to Updates, and then update all. You should do this regularly anyway. When done, check your site is working as expected.
  • Check PHP compatibility: install the PHP Compatibility Checker plugin to check your themes and plugins for possible issues. This plugin isn’t perfect and may miss items or flag false positives, but it does work in most cases.
  • Fix any PHP compatibility issues: if the PHP Compatibility Checker plugin picks up any issues, get in touch with the theme or plugin developer and ask them to investigate. If they can’t or won’t get back to you, have a look for themes or plugins on WordPress.org with similar functionality and use one of these instead.

Run through these steps, and you’ll be ready to update the PHP version on your WordPress site – and enjoy all of the benefits that come with this!

If you run into any issues whilst doing this or need help, you should contact a professional web developer, your hosting company, or your theme and plugins authors. All of these will be happy to help here.

We can now get on to the final part: actually updating your website’s PHP version.

Top ↑

How to update your website’s PHP version for a faster, more secure website # How to update your website’s PHP version for a faster, more secure website

You’re now ready to update your website’s PHP version! You’ve done due diligence, got backups, and are in the best possible shape to do the update.

As the PHP version is set at the server level by your hosting company, updating involves either interacting with your host’s settings or asking them to do it.

Thus, exactly how to do the update depends on your hosting company. We’ve asked hosting companies to submit instructions on how to update your PHP version on their hosting, and you’ll find a list of hosts who have instructions available here.

If you can’t find your host on this list, then email your hosting company and ask them to help! Here’s some template text you can use:

Dear Hosting Provider,

I want my website to be as performant and secure as
possible with the latest version of PHP. For the server
my WordPress site is hosted on, I want to ensure that
is the case. If I am not already on the latest version
of PHP, please let me know what steps I need to take
to update.

Thanks!

If you run into any issues at this stage, either change the PHP version back yourself, contact your hosting company or a professional web developer. In the unlikely event something goes wrong and you need to restore your backup, contact your host and ask them to restore the previous version of PHP you had running. You can then restore your backup.

You should now have all the information you need to update! Nice work! With an up-to-date version of PHP you’ll enjoy a faster, more secure website and happier visitors.

Top ↑

Faster, more secure WordPress websites for all # Faster, more secure WordPress websites for all

Making sure you have the latest version of PHP ensures your website is as fast, and secure as possible.

You now have all the information you need to update to the latest version of PHP, and you know how to update in the future as well. Look out for more PHP update messages on your WordPress Dashboard going forwards, or keep an eye on your hosting company’s news for more information.

As a final reminder: contact your hosting company, a professional web developer, or your theme and/or plugin authors for any additional questions. They’ll all be able to help out with their areas of expertise.

Thanks for making the internet a better place!

https://wordpress.org/support/update-php/

Let Go, Let God

Don´t worry, be "Larry", be like that guy that seems to be happy and not pursuing non running under any affair in live, we are here to learn with joy and passion so get things done the easy way. You are Wellcome!

I love to drink Seawater and also to Sungaze, you want to review this for your benefit.

Gratitude
5148123

Recent Posts

Archives

Categories

Meta

Recent Comments