CMS Upgrades in 2026: Choosing PHP for WordPress and Drupal

Illustrated infographic summarizing: CMS Upgrades in 2026: Choosing PHP for WordPress and Drupal

By Greg Nowak. Updated 15 November 2026.

When your website brings in enquiries, takes payments or supports daily operations, a PHP upgrade deserves a release plan. Changing the runtime can affect plugins, custom integrations, scheduled jobs and the tools your team uses to publish.

The useful question is: which supported PHP version can the whole site run reliably, and what evidence do we need before switching production? Answering that gives the business owner, agency and hosting provider a shared basis for the change.

Which PHP version should you choose in late 2026?

For WordPress 6.9 or 7.x, I would assess PHP 8.5 first and use PHP 8.4 where an essential dependency blocks it. That is a planning recommendation, conditional on testing the complete site. The WordPress compatibility matrix confirms core compatibility with PHP 8.5 from WordPress 6.9; it cannot confirm your plugins, theme or custom code.

Drupal requires a more specific match between core and PHP. Use this matrix to scope the work, then check the installed versions and dependencies.

Current position PHP target to assess What else needs attention?
WordPress 6.9 or 7.x 8.5; 8.4 if blocked Theme, plugins, custom integrations and hosting support
WordPress 6.7 or 6.8 8.4 as a bridge Include a WordPress core update in the plan
Drupal 10.6 8.4 as a bridge Core reaches end of life on 9 December 2026
Drupal 11.3 or 11.4 8.5 Check module compatibility and the minor release’s support deadline
Planned Drupal 12 upgrade 8.5 required Assess database requirements and dependencies; stable release is scheduled for December
Planning guidance as of 15 November 2026. Compatibility and ongoing CMS security coverage are separate checks.

Check both the PHP and CMS support deadlines

According to PHP’s support calendar, PHP 8.2 receives security fixes only until 31 December 2026. It is a poor destination for upgrade work commissioned now. PHP 8.3 has security coverage through 2027, PHP 8.4 through 2028, and PHP 8.5 through 2029. Install the latest available patch release within your chosen branch.

Drupal adds an urgent deadline: its core release schedule sets Drupal 10’s end of life at 9 December 2026. Moving Drupal 10 to PHP 8.4 does not extend core support. Budget and assign the Drupal major upgrade alongside any immediate runtime work.

The Drupal PHP requirements allow PHP 8.5 from Drupal 11.3, but not on Drupal 10 or Drupal 11.1–11.2. Older minor releases also need a core support review. Drupal 12 requires PHP 8.5; assess it as an upcoming platform upgrade rather than an available stable production destination today.

Find the blockers before booking the release

Ask the technical team for an inventory covering CMS core, extensions, custom code, database version, hosting capabilities and scheduled tasks. Include WordPress must-use plugins and drop-ins, or Drupal contributed and custom modules. Give each blocker an owner and a decision: update, replace, repair or retire.

These commands provide a useful first pass for the developer or hosting team. Run the relevant tools from the project directory with the appropriate site configuration.

# PHP command-line environment
php -v
php --ini
php -m | grep -Ei 'curl|dom|gd|imagick|mbstring|openssl|pdo|xml|zip'

# WordPress, using WP-CLI
wp core version
wp plugin list --status=active --fields=name,version,update,status
wp plugin list --status=must-use
wp theme list
wp cron event list

# Drupal and Composer-managed projects
 drush status
composer outdated --direct
composer prohibits php 8.4 --tree
composer prohibits php 8.5 --tree
composer check-platform-reqs

CLI PHP can differ from the PHP used by the web server, cron or queue workers. Compare versions, extensions and configuration across production and staging; the extension filter above is an inventory aid, not a complete requirements check.

As the Composer documentation explains, prohibits identifies dependency constraints blocking a target. check-platform-reqs checks the actual PHP and extensions available to that command, ignoring simulated config.platform settings. Passing these checks still requires application testing. Resolve blockers rather than bypassing platform requirements.

Test complete business journeys

Build staging with the intended PHP version, extensions, configuration and deployment method. Keep its data representative while routing payments and outbound messages safely into test systems. Test uncached requests as well as cached pages: a working homepage says little about checkout or background processing.

  • Enquiries: submit forms, confirm delivery and check the CRM handoff.
  • Revenue: test checkout, payment callbacks, subscriptions and refunds where relevant.
  • Access and publishing: check login, password reset, permissions, media uploads and editorial approvals.
  • Background work: exercise cron, queues, imports, exports and scheduled publishing.
  • Search visibility: check redirects, sitemaps, canonical URLs and structured data on representative pages.

Assign a named person to each critical journey and record the result. Review application, PHP and web-server logs during testing. Investigate new warnings and deprecations even when the visible workflow succeeds.

Agree on rollback before changing production

Define the release window, acceptance checks, rollback trigger and decision owner. Keep the previous runtime configuration, application release, dependency lock file and a verified backup with a tested restore procedure. If server configuration changes, validate it with nginx -t or apachectl -t before reloading.

Where possible, separate the PHP switch from database-changing CMS updates so each step can be checked independently. Restoring an old database can erase orders, enquiries or edits received after deployment. Agree how writes will be paused or preserved and reconciled if restoration becomes necessary.

After release, repeat the critical production checks and monitor logs, queues and scheduled jobs. Leave the team a short decision record covering the target, remaining blockers, test evidence and next support deadline.

Get the upgrade into a workable plan

If responsibility is split between your agency, developers and hosting provider, Greg can help assess dependencies, assign the work and coordinate acceptance testing. Talk with Greg about planning your CMS and PHP upgrade. A useful starting point is your current CMS and PHP versions, the hosting setup and the workflows the business depends on.

Related on GrN.dk

Need help with this kind of work?

Plan your CMS upgrade with Greg Get in touch with Greg.

Sources

Latest articles

Before relying on an AI project briefing, check which files it covered. A practical workflow for tracking documents, recording gaps and verifying key claims.

Check whether your contact form rejects missing or invalid Turnstile tokens, handles failed checks for genuine users and delivers accepted enquiries to your team.

Compare Bing citations, identifiable AI visits and verified enquiries to see which pages deserve attention before you increase your AI search marketing budget.

Teamtailor is phasing out Riminder on 21 November 2026. Check your parser settings, contact fields and integrations, and make sure you have a process for deleting applicant data.

WordPress jobs running late? Learn how to separate scheduling problems, task errors and a growing backlog, then choose the right scheduler or runner.

Before changing an AI workflow, check that it still does the job. Use realistic examples, clear release criteria and a comparison with the version running today.

Sending an invoice does not mean it has arrived. Understand delivery statuses, the system requirements coming in 2027, and how focused AI support can help finance teams handle errors and follow-up.

Before scaling AI content, check the pages you already have. Verify claims, resolve overlapping coverage, and give WordPress reviewers control over publication.

Build a refund approval workflow in n8n and Stripe that shows reviewers the exact action, expires old approvals and tracks refunds through to completion.

A timeout can hide a successful job creation. Use stable operation IDs, destination API rules and a clear recovery process to prevent duplicate work.