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
- Check which version your site uses today, in your hosting panel.
- Check the minimum and recommended version for your content management system, your theme and your add-ons.
- Make a full backup: files and database.
- Update the content management system and the add-ons first, and PHP afterwards.
- If you can, test first on a copy of the site.
- Change the version and go through the main pages: home, forms, cart and sign-in.
- Check the error log over the following days.
- 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.