Bluehost 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. Bluehost 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. Bluehost offers web design services that will provide you with a forward-thinking website that will be compliant with current technologies and prepared for upcoming changes so that it can update as technology continues to evolve.
  • 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 Bluehost.

    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.
For more information and frequently asked questions about this migration, please see the following articles regarding the migration:

Knowledgebase Article 158,105 views bookmark tags: deprecation discontinue end php upgrade


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

My Sites: Manage WordPress Sites

Our updated 'Rock' user interface offers a fresh new look, along with several useful tools and helpful features. One such feature is the My Sites tab, where you can easily manage your websites.

How To Change Your PHP Version - PHP Config Guide

How to change your PHP version in your hosting account

How to Share your Backup with Professional Services

When you purchase a website transfer, you may need to upload and share a backup of their website with professional services. This article will explain how to share a backup using DropBox or Google Drive.

Related Help Content

Weebly Upgrade FAQ

A list of frequently asked questions about the upgrade to the newest version of Weebly

Website Pre-Publish Checklist

You have invested a significant amount of time creating and perfecting your website, and you're ready to publish it for the world to see! Are you really though? Use this checklist to ensure your site is ready for publication.

Allow_url_include

In the newer versions of PHP, they have included a new directive to control and handle remote includes. We disable this option, by default, which may affect some of your PHP scripts.

How to update your WordPress installation

How to update your WordPress site, using the WordPress tools

WordPress Theme Installation

There are multiple different ways you can install a theme you have purchased for your WordPress site. This article will explain our two recommended methods for installation.

Change Your PHP Version - Dedicated and VPS Hosting

Changing PHP versions, load custom Apache mods, and other Apache/PHP customizations

Switching a WordPress Theme

A WordPress theme has enormous influence over your site's appearance and maintenance. This article will explain how to change the theme for your WordPress site.

How To Add Handlers To Change PHP Version - PHP Version Setup

This article will explain how to add a PHP handler to your .htaccess files. This is useful if you want to customize the version of PHP that runs your PHP files.