To check the PHP version of your WordPress site, go to your Dashboard, then “Tools” > “Site Health” > “Info” > “Server”. You will see a line called “PHP version” with your current version.

October 2026: two critical flaws called PHP2Shell (CVE-2026-109618 and CVE-2026-109619) affect PHP itself. If you are checking your version because of them, keep in mind that the number alone is not always enough: your host may have applied the fix without changing the version number.

Honestly, that first method is all you need. But in case you can’t find that page, or your dashboard won’t cooperate, here are the other ways to get the information.

Through your hosting provider

You can of course ask your host’s support team. But you can also find it yourself by logging into your server control panel.

On cPanel, type “php” in the search bar and choose “Select PHP Version”.

You will see “Current PHP Version” on the page, with your version right next to it.

On other hosting panels, look for a section called “PHP manager” or something similar.

With a phpinfo file

You can also display your PHP version on a specific URL with the well-known “phpinfo” file:

  • Connect to your server via SFTP
  • With a text editor like Notepad++, create a file named “phpinfo.php” and paste this inside:
<?php
phpinfo();
?>
  • Upload the file to the root of your WordPress installation
  • Open this URL: yoursite.com/phpinfo.php

Delete the file as soon as you have seen your version. Leaving it online gives away a lot of information about your server.

With a plugin

Yes, this option exists too. I find it a bit overkill for such a simple task, but it works.

A simple plugin called “PHP Version” displays your PHP version. Once installed and activated, you will see it on the home page of your WordPress dashboard.

Which PHP version is up to date in October 2026?

Since October 21, 2026, the versions that fix the PHP2Shell flaws are:

  • PHP 8.5.12
  • PHP 8.4.27
  • PHP 8.3.36
  • PHP 8.2.35

PHP 8.1 and older versions no longer get official fixes. Some hosts, such as o2switch, OVHcloud or Infomaniak, still patched their older versions, sometimes without changing the displayed number.

So if your version is older than the ones in this list, don’t panic yet: first check what your host has done. And if you’d rather have someone handle updates and security for you, take a look at my WordPress maintenance service.

Want to go further than the PHP version? My WordPress security audit checks the main weak points of your site.

Stuck on this step?

Contact me and I'll help you out. I've been supporting website owners for more than 10 years now:

About the Author: Jennifer
How to check the PHP version of your WordPress site
I'm Jennifer, founder of Webooste and a freelance WordPress developer based in Marseille, France, since 2019. I hold a French state-certified diploma in web and mobile web development and have over 10 years' experience in digital. I look after the maintenance and security of WordPress websites and WooCommerce shops, 100% online, with clients worldwide. I hunt down bugs, chase away malware and take the technical worries off your mind! See my maintenance plans · Get in touch Find me on LinkedIn, Instagram, TikTok, YouTube or WhatsApp.