How to Update PHP Version in WordPress (cPanel Method)

Are you looking to enhance the security, performance, and feature support of your WordPress website? One crucial step you shouldn’t overlook is updating your PHP version. In this guide, we’ll walk you through the process of updating the PHP version in your WordPress site, ensuring it stays secure and runs smoothly.

Why Update PHP Version in WordPress?

Before we delve into the steps, let’s understand why updating your PHP version is essential for your WordPress site. PHP serves as the scripting language behind WordPress, powering its functionality. By keeping PHP up to date, you ensure that your site remains secure against vulnerabilities, operates efficiently, and stays compatible with the latest features and plugins.

Website, speedometer, database, and cloud backup illustration

Checking the Current PHP Version

The first step is to check the current PHP version of your WordPress website. Here’s how:

  1. Log in to your WordPress admin panel.
  2. Navigate to the “Tools” section and click on “Site Health.”
  3. Select “Info” to view detailed server information, including the PHP version.

Updating the PHP Version

Once you’ve identified the current PHP version, it’s time to update it. Follow these steps:

  1. Log in to your cPanel or hosting control panel.
  2. In the search box, type “PHP” and click on “Select PHP Version.”
  3. You’ll see the current PHP version displayed. Choose the updated version from the available options.
  4. Click on “Apply” to save the changes.

Verifying the PHP Version Update

After applying the changes, it’s crucial to verify that the PHP version has been successfully updated. Here’s how:

  1. Return to your WordPress admin panel.
  2. Navigate to the “Tools” section and click on “Site Health.”
  3. Check the server information to confirm the updated PHP version.

Conclusion

Updating the PHP version of your WordPress website is a simple yet essential task that can significantly impact its security and performance. By following the steps outlined in this guide, you can ensure that your site remains secure, runs smoothly, and stays compatible with the latest WordPress features and plugins.

Official resources and further reading

Related articles

How to Offer Free Shipping with a Progress Bar in WooCommerce

Use PricePress to plan a WooCommerce free-shipping threshold, display progress toward the reward, and test shipping eligibility across customer addresses.

How to Set Up Dynamic Pricing in WooCommerce with PricePress

Create your first WooCommerce dynamic pricing campaign with PricePress, choose a calculation base, control overlapping discounts, and test the customer experience.

How to Schedule Flash Sales and Limited-Time Discounts in WooCommerce

Schedule a WooCommerce flash sale with PricePress, select a campaign window, control redemption limits, and test start, end, and recurring-sale behavior.

How to Prevent Discount Stacking in WooCommerce

Control overlapping WooCommerce offers with PricePress rule priority, Individual Use Only, coupon policies, and redemption limits, with a worked discount example.

How to Set Up Wholesale and VIP Pricing in WooCommerce

Plan role-based WooCommerce pricing with PricePress Pro, combine customer eligibility with quantity tiers, and distinguish wholesale roles from lifetime-spend rewards.

Case Studies

Content & copywriting

Compass Music Platform

A clothing brand wanted to launch a new e-commerce website that would allow customers to browse and purchase their products online. We developed a...
Content & copywriting

NewsWeek Magazine

A clothing brand wanted to launch a new e-commerce website that would allow customers to browse and purchase their products online. We developed a...
E-commerce development

Beauty & Makeup Shop

A clothing brand wanted to launch a new e-commerce website that would allow customers to browse and purchase their products online. We developed a...