Skip to content

Compatibility before cutover

PHP Upgrades & Compatibility Fixes

Plan a PHP upgrade around your application, custom code and business-critical functions. Test the target environment, prepare a rollback route and verify the live switch.

Test first

Compatibility checks on a separate copy.

Plan the switch

Backups, live data and rollback criteria.

Verify both runtimes

Web requests and background tasks.

When to start

A hosting deadline.
A dependency. A failure.

The right starting point depends on what changed and what your website needs. A site that is already failing needs an initial recovery assessment.

01

The host is retiring an old version

Check the deadline, available PHP branches and the extensions your website needs.

02

The CMS needs a newer runtime

Plan the order of core, module, theme and dependency updates.

03

You are modernizing the environment

Choose a compatible supported target and test the application before switching.

04

The site broke after a PHP change

Review the error and recent changes, then assess a rollback or a focused repair.

Compatibility goes beyond the CMS

The whole application.
The actual environment.

WordPress and WooCommerce, Bitrix, third-party modules and custom PHP code. Core compatibility is one part of the check.

Application and dependencies

Review themes, plugins, modules, handlers and library constraints. Identify components that need an update, a targeted fix or a replacement.

Web and background execution

Check the PHP handler, PHP-FPM configuration, extensions, sessions, file permissions and scheduled tasks. A successful php -v command does not identify the runtime serving your website.

Critical business functions

Agree the scenarios before work starts. For a store this may include a cart, delivery, checkout, payments and notifications. For a service website it may include forms, CRM delivery and administration.

The upgrade process

Prepare. Test.
Switch with a plan.

The live site can continue receiving orders and enquiries while a copy is tested. Cutover and rollback must account for the data created during that time.

01

Record the baseline

Inventory PHP versions, CMS, modules, custom code, libraries and hosting constraints. Record the current behavior of the agreed control URLs and functions.

02

Prepare a copy and a rollback route

Back up files, data and configuration. Check restoration readiness and isolate the test copy from production emails, payments and integrations.

03

Resolve compatibility issues

Run the target PHP version on the copy. Investigate logs and failed scenarios, agree component changes and validate the fixes.

04

Make the agreed live switch

Confirm the change window, current data, rollback criteria and responsible people. Apply the validated configuration to the working site.

05

Recheck and hand over

Verify the live web runtime, background execution and selected user flows. Provide a change record, results, remaining issues and maintenance notes.

Documented experience / Bitrix

PHP 8.2.20 → 8.5.12.
On the existing server.

A separate runtime, PHP-FPM, compatibility fixes and explicit cron configuration. The case documents 754 passed module tests, 16 control URLs and five WebP request scenarios.

Read the upgrade and its verification limits ↗

Three execution paths, checked separately

WebsiteNginx → Apache → PHP-FPM 8.5.12
Scheduled taskCron → explicit interpreter → PHP 8.5.12
Existing server toolsSystem PHP → kept separate

Before we begin

A defined scope.
A practical estimate.

Send the website URL, platform, current PHP version if known, the reason for the upgrade and any hosting deadline. Credentials can wait until the access process is agreed.

Agreed before implementation

  • Target version and compatibility work.
  • Deliverables, cost, timing and external dependencies.
  • Cutover plan, current-data handling and rollback criteria.
  • Acceptance scenarios and post-launch observation window.

Quoted separately when required

  • Paid module or theme licenses.
  • Major custom-code changes and platform rebuilds.
  • A hosting migration or operating-system upgrade.
  • Long-term maintenance of custom-built runtimes and libraries.

Common questions

Before the
version switch.

Does every website need PHP 8.5?

The target version follows current support, hosting availability and the compatibility of the complete application. The version used in the case study is a project result, not a universal recommendation.

Can you upgrade PHP on the current host?

Often, if the host supports the required version, extensions and configuration. The initial assessment establishes what is possible. A hosting move is a separate decision.

Can the upgrade be completed without downtime?

Testing a copy reduces work on the live site. The need for a change window and its duration depend on the application, data updates and deployment method. These conditions are agreed in advance.

Will a PHP upgrade make the site faster?

Performance also depends on the application, database, caching and server. If speed is a project goal, comparable before-and-after measurements are included in the scope.

What if the site is already broken after a PHP change?

Send the error, affected URL and time of the change. The first step is to assess recovery or a targeted repair. If code and data were changed as well, switching the PHP version back may not be sufficient.

Plan the upgrade
around your website.

Share the site and the reason for the change. We’ll establish the starting point, the checks and the next step.

Discuss a PHP upgrade ↗

For Upwork projects, please keep pre-contract communication in your Upwork conversation.