HostMonster Web Hosting Help
What to do if your Site Does Not Work with Newer Versions of PHP
Please note: We will be updating to PHP version 8.0 in batches beginning in 2022. Keep an eye out for communications on when your account will be updated and what changes, if any, you will need to make. For more information on updating content for PHP compatibility, read our guide on What to do if your Site Does not Work with Newer Versions of PHP. To learn more about what is changing with PHP 8.0, please see PHP.net's release notes.
My sites don’t work with newer versions of PHP, what can I do?
Many popular website platforms use PHP for rendering their content. It’s common for these sites to have automatic update tools to ensure that they work with the latest version of PHP, however sometimes a theme or plugin for these services may prevent them from updating or may not work with a newer version of PHP.
If you are able to test and identify that your sites do not work with a newer version of PHP, you have a number of options.
- Attempt to Update Your Website
Many platforms, such as WordPress, can be updated to versions that are compatible with the most up to date versions of PHP. The first step may be as simple as attempting to update your website from the dashboard. Please remember to take a backup before making any changes so that the site can be restored to its previous state if it experiences any issues while upgrading.
- Contact a Developer
Either your web developer or another web developer may be able to assist you with updating your website to be compliant with a modern secure version of PHP. The Developer who originally built your site is likely to have the best chance of resolving the issue quickly and effectively.
- Design a New Site
Another valid option is to design a new site, using the opportunity to provide your visitors with a fresh experience that uses a modern version of PHP. HostMonster offers a variety of tools to build a website from scratch that will work on your new service.
See Getting Started with your New Account to learn more.Additionally, it is possible to get third party developers to re-build your site for you.
- Migrate to a Platform that Allows End of Life PHP Versions
PHP 7.0,7.2 are outside of their end of life and are not receiving security updates. Actions taken to continue to remain reliant on this service are not recommended by HostMonster.We understand that it may be a challenge to update your site to be compliant with modern versions of PHP. If there is no way to update or rebuild your site to be compliant with your updated service it is possible to migrate your content to another service provider that has PHP 5.2 available.
If you are unable to find a provider that explicitly offers this option, it is possible to get a VPS or dedicated server that will allow you to control the software environment on which you host your website.