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:
- A visitor requests a domain.
- The web server selects that domain’s virtual host.
- The virtual host forwards PHP requests to a configured FastCGI endpoint.
- That endpoint belongs to a PHP-FPM service running the intended PHP version.
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:
- Domain: the hostname served by the virtual host.
- PHP version: the intended runtime branch.
- PHP-FPM service: the service handling that site’s requests.
- FastCGI endpoint: the socket or network listener configured in the web server.
- Command-line runtime: the binary used by deployment scripts and scheduled jobs.
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:
- Choose parallel runtimes if the operating system and package source support both versions, each virtual host can point to its own PHP-FPM endpoint, and the target application passes testing.
- Keep the existing runtime if a required extension is unavailable, the package source cannot safely provide both versions, or the site has not passed its business-flow checks.
- Use a separate test environment if the change could affect a critical store and there is no reliable rollback path on the production host.
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:
- Web request: inspect the runtime used by the specific site. Use a controlled diagnostic page or a trusted application status screen. Remove temporary diagnostic files immediately; never leave a public page that exposes detailed server configuration.
- SSH session: run
php -vandphp --inito record the CLI version and loaded configuration. These results describe the shell environment, not necessarily the site’s PHP-FPM runtime. - Scheduled tasks: inspect the actual command configured for each job. A job that calls
phpwithout an explicit binary may follow the shell’s environment and use a different version from the website. - Application tooling: verify the runtime used by deployment scripts, maintenance commands, and WordPress CLI operations. Confirm the executable and configuration associated with the job, rather than assuming it inherits the website’s PHP-FPM settings.
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:
- Current site-to-runtime mapping.
- Current virtual-host configuration and relevant PHP-FPM settings.
- The extension list loaded by the website and by command-line tasks.
- A backup and restore path for site files and databases.
- A short test plan for the site’s important user journeys.
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:
- The PHP-FPM service starts and remains active.
- The service loads the intended configuration.
- The expected extensions are available in the web-request context.
- The FastCGI endpoint exists and is accessible to the web server.
- The site’s virtual host points to that endpoint.
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:
- Worker identity: confirm the user and group assigned to the relevant pool.
- File ownership: check that site code is not writable by unrelated site processes.
- Writable directories: limit writes to application-required locations, such as uploads and application cache directories.
- Logs: make sure log paths and permissions do not expose one site’s data to another site.
- Shared caches and temporary files: confirm the cache namespace and temporary paths are not accidentally shared in a way that leaks or corrupts application state.
- Secrets: review access to environment files, database credentials, and deployment keys.
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:
- Proceed with the PHP 8.5 mapping if the site request reaches the intended PHP-FPM service, required extensions load, logs show no relevant errors, and the site’s important workflows pass.
- Hold the change if compatibility is uncertain, a critical extension fails to load, or scheduled jobs use an unverified CLI runtime.
- Roll back if the site develops a user-visible failure, checkout or administration breaks, or errors appear that are linked to the new runtime and cannot be resolved during the change window.
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
