Open Tools → Site Health → Info → Server in your WordPress dashboard to see the PHP version your site is running. Before changing it, make a restorable backup, check that your theme and plugins support the version you plan to use, and test the change on a staging copy. The version switch happens at your host. WordPress Site Health helps you check the result.

If you’re on PHP 8.2, put this on your December maintenance list. The PHP project ends security support for 8.2 on December 31, 2026. Your site can keep running after that date, but any additional patches depend on what your host or another provider supplies. PHP supported versions

1. Check your version and your host’s advisory

Record the full version from Site Health, the site you checked, and the PHP version selected in your hosting panel. If your shop or booking system runs on a subdomain, check it separately. It may use a different PHP setting. If you can’t log into WordPress, look for a PHP information screen in your hosting account or ask support which version serves that site.

Some hosts apply a security fix to the PHP build your site already uses. In its October 2026 advisory, Hostinger said the displayed version might stay the same on managed hosting even after it applied the fix. For that incident, Hostinger told customers to compare the build date under PHP Info with the date in its advisory. Customers who manage PHP on a Hostinger VPS have to apply their own updates. Hostinger security advisory

If a scanner flags your PHP version, use the advisory for that specific issue. Confirm it covers your plan and build. Ask your host what it patched and how you can verify it if the advisory leaves that unclear. A fix for one issue gives you something specific to verify while you plan the move to a supported branch.

2. Back up the site and check compatibility

Make a fresh copy of the site files and database before switching PHP. Find the restore controls and confirm which backup you would use if the dashboard became unavailable. If you haven’t tested a restore, do that on a separate copy first. Follow the WordPress backup and restore guide.

Pick a PHP branch that still receives security fixes and is available on your host. Check it against your installed WordPress version and the requirements for the tools you rely on. Pay particular attention to the theme, custom plugins, commerce, booking, membership and form integrations. If a vendor hasn’t documented support for the version you’re considering, ask or test before making the live change. WordPress PHP compatibility table

3. Switch PHP on staging and test the site

Use a recent staging copy with the same theme, plugins and PHP extensions as production. Switch PHP for that copy in the hosting panel. On Hostinger, look in the website’s dashboard for PHP Configuration. Confirm you selected the staging site or domain before saving. Hostinger PHP configuration guide

Check the home page and one page of each kind that matters to the business. Sign in, edit a page and save it. Submit a labeled test inquiry and check the confirmation and the inbox or CRM. Try a booking or test checkout if the site uses one. On staging, use test payments and route notifications away from real customers. Review the host’s PHP error log and compare new errors with what was present before the switch.

4. Make the live switch and verify it

Choose a quiet time and tell anyone who handles leads or orders. Switch the live domain to the PHP version you tested. Check Site Health again, then repeat the essential tests on the public site. For a local service business, that might mean sending a test quote request from a phone and confirming someone can see it in the right inbox.

If a critical action breaks, capture the error and the time. If your host still offers the previous PHP version, switching back may restore service while you diagnose the issue. Bring the host in if you can’t roll back or the error persists. Before restoring a production database, account for orders, sign-ups or other records received since the backup.

Common questions about WordPress PHP updates

Does updating WordPress also update PHP?

PHP runs on the server. Change its version in your hosting account or ask your host to do it. WordPress Site Health shows the version the site is running.

Should I pick the newest PHP version in the hosting panel?

Pick a supported release you’ve tested with your WordPress version, theme and important plugins. Confirm compatibility and run the staging checks before going live.

Can my site be patched if the PHP version still looks old?

It can. Your host may have applied a specific fix to the existing build. Check the advisory for your plan and compare the build details or ask support to confirm.