changing the php version to a higher one

Why is it worth changing the php version to a higher one?

We often pay attention to having the current version of WordPress or Joomla. Unfortunately, few people pay attention to go to a higher version of php and often use version 5.6, which will soon cease to be completely supported. By the end of this year (2018) only patches will be released

From the beginning of 2018, the default version of php for new accounts on our servers is the latest version 7.2.

So what are the advantages of upgrading to a higher PHP version and will my CMS work?

The first most important advantage is security, especially when we have an unsupported version. Discovered security holes in unsupported versions are not patched, which allows easy hacking. Another advantage is the higher performance of newer versions of php. This is a very important issue for positioning. The page loading speed has a real effect on the search results, so it is worth considering one of the solutions to change to a higher PHP version.

Everything looks beautiful but does my WordPress or my Joomla! will it handle such a version?

Of course! The latest versions of Joomla! and WordPress work without any problems on PHP7. Unfortunately, before the implementation, you still need to check whether our themes (WordPress), templates (Joomla!), Plugins are up to date and whether they are compatible with a newer version of the PHP interpreter. However, it should be remembered that such tests are not a very good idea on a working website. The solution to this problem may be cloning our installation using the Softaculous tool (available in premium-ssd packages). Below is a reference to the guide:

“How to clone the installation using Softaculous?”

After we clone the page, we can check if our site works. Any errors can be checked in the file error_log, which is in the directory of our copied page.

However, how to change the PHP version in Smarthost.eu?

Version change is limited to just a few clicks. In cPanel, all you need to do is enter “MultiPHP Manager” where you can change versions for each domain.

Summary:

A newer version of php is: longer support, faster site operation, greater security, so if you can – go to the latest version of PHP

Aleksandra

Leave a Reply