Why keep PHP up to date, and how to change version without surprises

Ver como Markdown
Illustration of a person checking data

PHP is the language behind many websites and content management systems. Each version receives security fixes for a limited time; when that time ends, new flaws stay unfixed. The official calendar is on php.net, in the supported versions section.

Each version receives security fixes for a limited time; when that time ends, new flaws stay unfixed.

How to change version without surprises

  1. Check which version your site uses today, in your hosting panel.
  2. Check the minimum and recommended version for your content management system, your theme and your add-ons.
  3. Make a full backup: files and database.
  4. Update the content management system and the add-ons first, and PHP afterwards.
  5. If you can, test first on a copy of the site.
  6. Change the version and go through the main pages: home, forms, cart and sign-in.
  7. Check the error log over the following days.
  8. If something fails, go back to the previous version, fix it and repeat.

Move up one version at a time, not several at once: that way, if something fails, you know where to look.


If your application needs more resources or more control over the PHP version, see cloud hosting at Registro Digital.

Conoce el servicio Volver al blog