MoveMyWebsites

Website Security · 2 min read

How to Tell Which PHP Version Your Website Uses

The live runtime matters more than a server header. Ask your host for a clear answer.

By MoveMyWebsites · Last updated

Start with your hosting dashboard

Your hosting control panel may show a PHP version for each domain. Check the production site, not just a staging copy. If your account contains several websites, each can use a different runtime. A command-line version can also differ from the one processing web requests.

Confirm the running application

Ask your provider which PHP runtime handles your live site and when its security updates were last applied. WordPress administrators may find useful environment information in Site Health, but the host remains the best source for server configuration. Check scheduled jobs, queues and separate application servers as well.

Do not upload a publicly accessible phpinfo page just to identify the version. Diagnostic output can disclose configuration and environment details. If a developer needs a diagnostic endpoint, restrict access and remove it immediately after use.

Understand what public detection can and cannot do

An X-Powered-By header is only a hint. It can be hidden, altered or emitted by an intermediate cache. Its absence does not prove PHP is absent; its presence does not establish patch status. Ask about vendor-supported backports where version numbering does not reflect the original upstream release.

Make maintenance someone’s responsibility

Record the active runtime, support status, update owner and testing process. Keep a recovery plan and backups before changing runtime versions. If a major upgrade breaks older code, investigate compatibility rather than leaving the application indefinitely on an unsupported branch.

Plan your next step

Request a personalized migration assessment at /start. We will review your existing website and requirements before proposing scope, pricing or timing.

Put this into practice

Build a useful environment inventory

  • List production, staging, subdomains and scheduled jobs separately.
  • Ask your host to confirm the runtime serving each application, including vendor backports.
  • Record who can authorize configuration changes and verify compatibility.
  • Keep diagnostic reports private; do not share passwords or server secrets in an inquiry.

The useful output is a verified inventory with an owner for each system. A number in a hosting panel is only one part of that record. Include this inventory when discussing whether to retain, upgrade or replace a PHP-dependent component.

Review your PHP migration options

Your next step

Wondering how this applies to your website?

Get a free preliminary assessment and a personalized migration review.

movemywebsites / assessment read-only

Check your website now.

Likely platform
SEO and content
Sitemap and robots
Complexity

Keep reading

All resources
    How to Tell Which PHP Version Your Website Uses