Time to upgrade PHP Software (Do It Before Your Website Breaks)

Time to Upgrade PHP Code

Bluehost wants to update the PHP version on your hosting account

Did you get an email recently from Bluehost telling you it’s “Time to upgrade your PHP Software?”

They have been in the process of upgrading their web servers (the computer your website files reside on) to only support the newest stable versions of PHP.  Even though this is potentially a hassle for you, this is a good thing.

A responsibility of any web hosting company is to stay on top of technology by upgrading and patching hardware and software as  needed. This is one way to keep your website secure and running optimally.  Part of the web hosting service you pay for is for them to manage the web servers. If they are not keeping on top of the security of your web hosting service, look for a new host.

I am assuming that this email did not go to all of their clients, but just the website hosting accounts that are running depreciated versions of PHP5.  PHP5 has not been supported since Dec 2018. This means that bugs and security vulnerabilities that have been identified, are no longer patched, fixed. This is a great opportunity for hackers to exploit websites that have not upgraded PHP.

Typically upgrades are not as significant as moving from PHP5 to PHP 7. Since 2013, PHP code has been throwing depreciated warnings in log files that MySQL extensions will be removed eventually. As of PHP 7, MySQL extension is no longer supported.  This means if your website is running on a database with code that has not been modified to support this change, it is going to throw a fatal error and your website will no longer function. There  are other minor PHP changes too, but the database connection is the biggest issue and why you need to upgrade PHP on your hosting account and your website code.

Related Post:   How to Share Google Search Console Access

In the past few weeks, I have had multiple people contact me (some in a panic)  because they have not kept up with keeping their website code updated and now have a business website that will not function. Depending on the size of the site, this can be a couple of hours of work, or require a complete rebuild of your website.

The email from Bluehost says they are upgrading an old version of PHP will no longer be supported.  You don’t have a choice to change the version of PHP back to what worked for your site even though there may be a negative impact. You are forced to deal with this. 

What to do if your website won't run on a new version of PHP?

Update Software

PhpIf your website is running open source software like WordPress, you may be able to upgrade it with a click of a button. Keep in mind, beyond the core WordPress code, you will have multiple plugins and a WordPress theme that will need to be upgraded too. Just updating WordPress core code may not fix your site. This is because plugins and  theme code are separate parts that also need to be updated. If your theme is 5 or more years old, it has probably been significantly upgraded, just updating it will not be enough. Features like page builders have changed significantly in the past few years and function much differently than they used to.

Hire a PHP programmer to do the upgrade.

This is where I come in.  Hiring an experienced PHP Programmer (20+ years coding with PHP) that deals with issues like this daily can save you a lot of time and frustration.   I’ve upgraded more websites than I can count.  I’m much more knowledgeable (and less frustrating) to deal with than trying to get “front row” hosting support to walk you through changes that are needed. 

Related Post:   Website Development Process
Like bread, code gets stale over time. ( ツ )  After years of code sitting “as is” code becomes outdated, obsolete and causes problems.  Consider making upgrades to get PHP function, but then you won’t be addressing other outdated technologies. Maybe your website is not mobile friendly, not properly using a secure connection, or has dead technologies like Flash still implemented.  Does it make more sense to redesign and rebuild your site? From a cost perspective, it probably will.  Trying to find a web developer to work on severely outdated code can be quite a challenge too.

Find another host that will support outdated, insecure versions of PHP.

While technically this is an option, it is such a bad suggestion that I didn’t even want to include it.   Part of owning a website  is maintaining it.

With website maintenance, I preach being proactive vs reactive. Keeping your website updated will avoid getting into a situation where you are forced to react when it breaks.  You have no choice but to upgrade PHP on your site, otherwise it will no longer function.

If you need help upgrading, hire an experienced web developer to get your website back online fast.

Facebook
Twitter
LinkedIn
Pinterest

More Advice

Free Estimate

Hire a Freelancer

Hiring a freelance web programmer is an affordable solution for small businesses to get website support with development, maintenance, management and more.

Do NOT follow