2026 PHP 8.5 Multi-Site: How to Run It Separately From Older Versions?

2026 PHP 8.5 Multi-Site: How to Run It Separately From Older Versions?

PHP 8.5 was released on November 20, 2025, according to the official PHP 8.5 release announcement. For a multi-site server, the safe choice is to run PHP 8.5 beside older versions only when each site is explicitly mapped to the correct PHP-FPM service and has passed compatibility checks. Separate pools alone do not provide complete security isolation; check operating-system users, file permissions, CLI jobs, and application compatibility before switching production traffic.

This runbook is for WordPress site owners who want to trial PHP 8.5 without upgrading every site at once.
It also helps WooCommerce and business-site operators prevent one runtime change from disrupting unrelated sites.
Server administrators will find checks for PHP-FPM boundaries, permissions, and rollback records.

PHP 8.5 multi-site version separation starts with the request path

A server can host sites that use different PHP versions, provided the operating system, package sources, and service configuration support those installations. The key is not merely having several PHP binaries on disk. Each website request must reach the intended PHP-FPM service.

Trace the request path:

Nginx’s fastcgi_pass directive specifies the FastCGI server or socket to which requests are sent. The important operational check is therefore the endpoint in each site configuration—not just the result of a shell command that prints a PHP version.

PHP 8.5 and PHP 8.4 can run side by side when the system’s package and service layout permits it. That is a deployment condition, not a universal guarantee. Package names, executable locations, service names, and socket paths vary by operating system and installation source. Confirm them on the target host instead of copying paths from a different server.

The PHP supported-versions page lists supported branches and their lifecycle dates. It shows PHP 8.5 security support through December 31, 2029. That lifecycle information helps with planning, but it does not prove that a particular plugin, theme, or custom application is compatible.

When can one server use different PHP versions for different sites?

Use separate PHP-FPM services if the sites have different compatibility requirements and the host can run the required versions concurrently. For example, a test site can use PHP 8.5 while a production store stays on its existing PHP version until its extensions and checkout flow have been verified.

The mapping must be explicit for every site:

Do not treat a multi-site application setting as proof that the underlying request mapping is correct. A control panel may display a selected version while a web-server configuration still points to another endpoint. Confirm the effective virtual-host configuration and then test an actual request for each domain.

A useful decision split is:

The server’s PHP installation method is separate from the service provider’s hardware or operating-system offering. Confirm the selected operating system and the actual PHP package source before designing the runtime layout. Do not assume a server plan includes a particular PHP version or a preconfigured multi-version stack.

Why can the website and command line report different PHP versions?

A website request and an SSH shell command may use different PHP binaries and different PHP interfaces. The website may run through PHP-FPM, while a shell command such as php -v reports the CLI binary selected by the shell’s PATH. PHP documents differences between its command-line and other interfaces in its guide to command-line usage and SAPI differences.

Check each context separately:

For WordPress scheduled events, the WP-CLI cron event run documentation describes how to run scheduled events through WP-CLI. Before changing a production job, verify which PHP executable launches WP-CLI and test the relevant event in a controlled environment.

If the website reports one version and the shell reports another, that is not automatically a fault. It is a signal to document both runtimes and check that each workload uses the one intended for it. The failure occurs when operators assume one version applies everywhere and then switch a web service without updating or validating scheduled commands.

Step 1: Record every site before changing a runtime

Build a site inventory before touching services. Record the hostname, application type, current PHP version, PHP-FPM service or endpoint, CLI command used by jobs, required extensions, and rollback target. Include staging domains and less frequently used business sites; they can still be affected by a shared configuration change.

For each WordPress installation, identify the active theme and plugins, then check their compatibility guidance. For WooCommerce, include the store’s payment, checkout, shipping, tax, and order-management extensions. The WooCommerce server requirements and its guide to updating PHP for WordPress provide application-specific checks. WordPress also publishes its server requirements, which should be reviewed alongside the requirements of the installed plugins and theme.

Record a known-good state before the change:

A backup is useful only if the restore process is known and accessible. Do not make a runtime change based solely on a backup indicator in a panel. Confirm where the backup is stored and how the site would be returned to the prior mapping.

Step 2: Install and identify runtimes without guessing paths

First confirm which operating system is installed and which package source will provide each PHP version. Then inspect the system’s actual service names, configuration files, and FastCGI endpoints. Avoid copying a socket path or service name from a tutorial for another distribution; a mismatch can leave a site pointing at a nonexistent endpoint or, worse, at the wrong runtime.

The PHP-FPM manual describes pool configuration, including separate pool settings and listeners. See the official PHP-FPM configuration reference. A pool is a process-management unit within a PHP-FPM setup. It does not by itself install another PHP branch, and a separate pool is not the same thing as a separate operating-system security boundary.

For each installed runtime, verify:

Do these checks for the actual deployment. Do not infer that PHP 8.5 is available simply because the operating system can run PHP, or because the service supports AMD bare-metal hosting. The PHP runtime and its package source are an application-stack decision.

Step 3: Map each virtual host to the intended PHP-FPM endpoint

Make the mapping one site at a time. For each virtual host, verify the FastCGI target in the active web-server configuration, then reload or restart services using the process appropriate to that system. Nginx’s FastCGI module documentation explains the role of fastcgi_pass; use the endpoint actually configured on the host.

After applying a mapping, test the domain itself. A syntax check can catch configuration errors, but it cannot prove that the site reaches the intended PHP version or that the application works. Confirm the runtime through a controlled web request, then check the site’s error log and PHP-FPM service status.

Keep unrelated domains unchanged during this test. If they all share a common include file or a generated panel configuration, determine whether editing that shared file affects multiple virtual hosts. A one-line change in a shared template can silently remap several sites even when the operator intended to change only one.

Operational reminder: PHP-FPM pools can help separate process settings, but the PHP manual does not describe pools as a complete security mechanism. Treat process separation and operating-system isolation as different controls.

Step 4: Verify users, writable paths, logs, and shared state

A runtime split can still leave sites with overlapping access. Check which operating-system user each PHP-FPM worker uses, who owns the site files, and which directories the application can write to. A site should not gain broad write access to another site’s code just because both run under the same web-server account.

Review these boundaries:

Separate pool names or socket files do not establish these boundaries by themselves. If several sites run under the same operating-system identity, a compromised process may have access beyond its own site depending on file permissions and application design. A stronger isolation plan may require distinct users and carefully scoped ownership, or a separate operating-system boundary. Verify the actual permissions instead of treating a panel’s “separate pool” label as a security guarantee.

Step 5: Test application flows and define the rollback trigger

Move a test site first, or select the least risky site whose business flow can be fully checked. For a WordPress content site, validate the front end, login, editor, media uploads, and any plugin-driven forms. For WooCommerce, test the product page, cart, checkout, payment integration in its appropriate test mode, order administration, and scheduled tasks. Do not assume a page loading successfully proves the store is ready.

Use a clear decision condition:

When rolling back, restore the recorded virtual-host-to-FPM mapping and confirm the site request reaches the previous service. Do not only switch a panel selector and assume that it restored the same configuration. Recheck the affected site and any shared configuration that may have changed.

For a WooCommerce store, inspect both browser-facing behavior and background work. An order can appear to complete while a scheduled task, webhook handler, or administrative operation fails later. Record what was tested, what was not tested, and the specific condition that would trigger a return to the previous runtime.

Keep a runtime ledger for every change

Maintain a record with these fields for each domain: PHP version, PHP-FPM service, FastCGI endpoint, CLI version and executable, required extensions, operating-system worker user, validation result, and rollback target. Add the change date and operator so later maintenance can distinguish the current mapping from an older test.

This ledger resolves several common ambiguities. It shows whether two sites intentionally share a runtime, whether a command-line job is expected to use a different version, and which endpoint must be restored if a test fails. It also makes migrations easier: a new operator can verify actual mappings rather than relying on assumptions about a control panel or a previous deployment.

For a site that is not ready for PHP 8.5, leaving its mapping unchanged is a valid outcome. Parallel runtimes are useful because they allow staged adoption; they do not create a requirement to upgrade every site at once. Revisit the compatibility decision when plugins, themes, or application code change, and confirm the official PHP support schedule before planning longer-term maintenance.

For operators comparing where to host a multi-site stack, review the server’s actual specifications and available operating-system options, then verify the runtime installation and isolation plan independently. A dedicated AMD physical server can make sense when sites need exclusive server resources and a stable environment for long-running workloads. Shared VPS instances and public-cloud virtual machines can be a better fit for brief tests, very light workloads, or systems that need rapid elastic scaling; they can also introduce shared-resource behavior, usage-based charges, or constraints on system-level configuration depending on the plan.

cloudgbps offers AMD dedicated servers in Tokyo, with operating-system options listed on its specifications page. That does not mean PHP 8.5 is preinstalled or that a multi-version stack is configured for a specific application. Before choosing a server, document each site’s PHP version, extensions, worker permissions, and rollback endpoint. Then compare the required operating system and environment with the current pricing and billing options. For this PHP 8.5 multi-site setup, the decisive check is still the same: each domain must reach its intended PHP-FPM service, and each site must pass its own compatibility and permission tests.

AMD EPYC 7543P Dedicated Server

From $455.2/month

Dedicated Servers Configured for Your Workload

Compare memory tiers, storage, and connectivity requirements, then review the details on the configuration page.