How to Update PHP on your WordPress Site

First, what is PHP? PHP is a slightly-confusing acronym for hypertext preprocessor. Basically, it’s an open-source scripting language forming the core of what makes WordPress work behind the scenes. It also encrypts data for better security and forms the infrastructure for the WordPress content management system. Like WordPress itself, PHP has different versions. These versions evolve with the web, adding features to keep your site secure. Newer PHP versions make your site faster as well as boost performance.

PHP versions go up to 8 now, although versions 7.3 and 7.4 are still popular. Some aspects of WordPress require the newer PHP version 8. So how do you update the PHP version for your account?

How to update the PHP version

  • Log in to your cPanel.

  • Go to the Quick Functions search bar and type in multi. This will bring up MultiPHP Manager easily. Click on it.

  • Scroll down and select the relevant domain.

  • Scroll up to the PHP version, click the version you want to use, and click Apply.

  • Look for a “Successfully applied PHP version…” notification.

After you update the PHP version be sure to test your site to ensure there are not any older PHP version dependencies.

The following link is direct to a cPanel tutorial on using the MultiPHP Manager.