How to Update PHP on My WordPress Site

WebDesk Team

March 2, 2022

how to Update PHP on my WP Site

If you host a website, your speed and security are only as good as the PHP version that you use to write the code.

The problem is that a lot of people who use WordPress don’t think updating their PHP is worth the trouble.

The person who made your website wants you to learn programming languages. You made the site to sell homemade candles or blog about reality TV, but now you have to learn to use them. Okay,Most of the time, you don’t even think about it.

But it’s important, and updating it can be easier than you think, even if you don’t think you can.
Keeping your WordPress site up to date is important, so let’s look at why and how you should keep your PHP up to date.

What is WordPress PHP, and why should I keep it up to date?

PHP is an acronym for Hypertext Preprocessor. The main thing that makes WordPress work is a free scripting language called PHP, and this is what makes it work. It encrypts data to make it safer. It also makes it possible for you to post dynamic blog content through the WordPress CMS.

You can think of it as the rails that keep your WordPress site’s train moving smoothly along.

In the same way that WordPress itself has different versions, so does PHP. There are different versions that keep your site safe as the web changes.

Why bother to make it better? For one thing, newer PHP versions make your site run faster and improve its speed. According to Kinsta, for example, the switch from PHP version 5.6 to version 7.0 doubled the speed of a site.

But you also have to keep up with your web hosting plan, so you have to be careful. It was back in August that WebDesk took down the Shared and Reseller hosting plans with versions 5.2 and 5.3 on them.

People still like to use versions 7.3 and 7.4 of PHP, but now the number of versions has reached 8. Which one should you use? If you’re reading this, there’s a good chance that you already need to get a new phone. At the very least, version 7.3 will keep your site in line with what WebDesk wants.

The good news is that updating your PHP is a lot easier than you might think it would be. These are the exact steps.

How do you check your PHP in WordPress?

There are many ways to update your PHP, and you’ll see them below. You can see your PHP version at a glance if you run WordPress through it.


To figure out which version of PHP you have, do the following:


If you're in WordPress, go to Tools - Site Health.


Your server will show you a row that lists the current status of your server's PHP version when you click on that row.

If you haven’t seen the version you want yet, it’s time to move on to the next step.

how do you change your WordPress PHP?

WebDesk users can go to their cPanel and use the Multi PHP Manager to change the PHP version on their site. Before, WebDesk had the PHP Selector as one method. But we’re slowly getting rid of that method, so we’ll talk about the Multi PHP Manager method below.


The first thing you need to do is log into your cPanel.


In the search bar, type multi.This will make it easier to open Multi PHP Manager. Click it.


If you made a php info file in the steps below, check to see if the changes have worked.


Continue scrolling down and selecting the appropriate domain.


You can scroll up and choose which PHP version to use, then click on the one you want to use.


When you're done, look for a "Successfully applied PHP version..." message.

If you think you’ll be updating your PHP version as often as you can, you might also want to create a PHP info file in your WebDesk account to make sure your conversion went well, or just to remember which version you’re using.

If you already know your PHP version, you can skip this part and go to How to Update Your WordPress PHP and not read this part. It’s better not to go through a lot of steps that don’t make sense.


However, if you don’t know what version of PHP you have, having a PHPinfo.php file in place can help you figure it out at any time.


The first thing you need to do is log into your cPanel.


When you go to software, you should look for what you need.


Scroll down to File Manager in your WebDesk cPanel and click on it to access it.


Select a file.Create a new file with the name phpinfo. php and click the "Create New File" button to start making the file.


You'll see things like the WordPress Manager and Perl Modules there. Please scroll down until you see Multi PHP Manager and click on it to get to it. From there, you can watch this video:


We'll also write down those steps:


This will take you to your home directory, where you can find your files. If you're working in public HTML, scroll down to find that folder and double-click it to get to it.

This means that you can now copy and paste one of the options from our guide to phpinfo files into your own file. In this code, you can see everything about PHP.

Use the code below to see which modules are installed and what their values are right now.


 PHP info This would show the modules that have been installed and the values they are at now.


Right-click phpinfo.php in your WebDesk cPanel and select edit.You can change it.


Copy the information and paste it into a new text box or window. Save the changes

PHPinfo.php is now open in your web browser, so you can see what it looks like now. If you put the file in public html, you can just type to get more information about the PHP code in the file. At the top of the page, look for the version of PHP. You now know what kind of PHP you have.

It only takes a few minutes, but updating your WordPress site’s PHP can make it run faster, be more secure, and run faster. If you want to be found by the best search engines today, it’s always a good idea to stay up to date. The good news is that if you do it the right way, it only takes a few minutes to stay that way for a long time.

Make sure your website is always up to date with an easy way to keep it that way.

Think about WebDesk if you want cheap, easy-to-manage hosting for your site.

Divi WordPress Theme

get a business website today


use coupon code


Divi WordPress Theme

Web Hosting is included

For both web premium and web business, you can host your website in our fast, secure and reliable servers.


Submit a Comment

Your email address will not be published. Required fields are marked *