For an Ubuntu 24.04 upgrade to 26.04, test a recoverable copy first; do not treat a successful upgrade command as proof that every site works. This approach suits teams that can verify PHP-FPM, web-server configuration, and each site’s key requests before changing production.
We wrote this for:
- Administrators responsible for several websites on Ubuntu Server who are planning the LTS upgrade.
- Teams running WordPress or WooCommerce and needing to check PHP-FPM and site-specific settings.
- Infrastructure leads deciding between an in-place upgrade and a staged migration.
Last updated
Last updated October 19, 2026. We checked the Ubuntu 26.04 release information, release-cycle details, and official server upgrade guidance. Ubuntu’s release page confirms that 26.04 was released on April 23, 2026; verify the currently published upgrade path and support information against the Ubuntu release files, Ubuntu release-cycle page, and official server upgrade guide before scheduling a change.
Start with the site inventory, not the upgrade command
Ubuntu 26.04 LTS is available, but a new installation and an upgrade from an existing Ubuntu Server are different tasks. A fresh install starts with a clean set of packages and configuration. An in-place upgrade must carry forward or replace an existing server’s services, site settings, scheduled jobs, and any third-party packages. The official upgrade guide is the authority for supported paths and prerequisites; do not infer the permitted route from the fact that both releases are LTS versions.
For a multi-site server, the risk is not limited to whether the operating system boots. Sites may rely on different PHP versions, extensions, PHP-FPM pools, socket paths, environment variables, or web-server rules. An extension installed for the command-line PHP runtime may not be available to the PHP-FPM service that serves requests. A site can also appear healthy on its landing page while a checkout, login, form submission, or scheduled task fails.
Before planning a production window, record the following for every site:
- The domain and document root, plus the web-server virtual host or server block that serves it.
- The PHP version used by the site, its PHP-FPM service or pool, and the socket or address referenced by the web-server configuration.
- Required PHP extensions, relevant
php.inioverrides, environment settings, and scheduled jobs. - The database and application dependencies, including any panel or external software source that manages them.
- The site actions that must work after the change: for example, administrator login, a product page, a form, or a test checkout.
Check PHP’s current support status using the official PHP supported-versions list. For WordPress, compare the environment with its published server requirements. These references help identify requirements; they do not certify that a particular theme, plugin, or custom application works with the PHP packages on the target operating system.
If the server has many sites, undocumented settings, or no tested recovery route, do not begin with production. First reproduce the relevant services on a copy and establish how to restore the original state if the test fails.
Diagnose 502 responses and blank pages after the change
A 502 response or blank page is a symptom, not a diagnosis. For a PHP-FPM-backed site, likely checks include whether the expected FPM service is running, whether the web server points to the correct socket, and whether the PHP runtime has the extensions the application needs. PHP-FPM is a separate FastCGI process manager; its service and pool configuration must align with the web server’s FastCGI settings. See the PHP-FPM documentation.
Do not assume a PHP version or configuration path in advance. First discover what is installed and what the site configuration actually references:
php -v
php -m
systemctl --failed
systemctl list-units --type=service --all 'php*-fpm.service'
The first two commands report the CLI runtime and its modules. They do not prove that a site’s FPM pool has the same runtime or loaded extensions. Use the service list to identify the actual FPM unit, then inspect its status and journal. Replace the placeholder below with the unit name found on that server:
systemctl status phpX.Y-fpm.service
journalctl -u phpX.Y-fpm.service --no-pager -n 100
Check the web-server configuration with the applicable test command before reloading or restarting the service:
nginx -t
For another web server, use that project’s own documented configuration test. Then inspect the relevant virtual host or server block and compare its FastCGI socket with the FPM pool that is actually running. A service can be active while a site still targets an old socket. Conversely, a corrected socket does not resolve a missing extension or an application error.
Use a symptom-to-check sequence rather than restarting services at random:
- The site returns 502: check the web-server error log, the referenced FPM socket, and the status and journal for the matching FPM service.
- The page is blank or returns an application error: check the site’s PHP error log, required extensions, and runtime configuration. Compare the site’s FPM pool settings with the inventory.
- Only one domain fails: compare that domain’s virtual host, pool, document-root permissions, and application configuration with a known-good site. Do not copy settings blindly between sites.
- The homepage works but a key feature fails: test the relevant application workflow. For an online store, test the cart and checkout flow rather than relying on the homepage response.
These commands narrow the search. They do not replace requests to every site. We recommend checking each domain over its normal route and testing one or more site-specific actions before declaring the upgrade successful.
Record PHP-FPM and site differences one domain at a time
A server upgrade can change which packages are installed and which service configuration is active. A configuration file left on disk is not evidence that the new runtime loaded it. Treat the post-upgrade runtime as a fresh verification task for each site.
Use a simple change record. Keep one row per domain in your own operational notes; do not use a single server-wide PHP value as a substitute for site-level records.
| Site or domain | Before: PHP runtime, FPM pool, socket, extensions | After: observed runtime, pool, socket, extensions | Request and application checks |
|---|---|---|---|
| Site A | Record observed values | Record observed values | Homepage, login, and site-specific action |
| Site B | Record observed values | Record observed values | Homepage, form, or store workflow |
| Site C | Record observed values | Record observed values | Homepage and scheduled-task check |
For each entry, capture the runtime from the FPM service serving that site, not only the output of php -v. Compare the loaded extensions with the site’s documented needs. Record any pool-specific php.ini overrides and confirm the web-server configuration points to the intended socket.
This is especially important when sites share a server but do not share an application stack. A plugin or custom integration on one WordPress installation may require a different extension set from a separate company site. Likewise, a common pool may simplify management but can make one site’s PHP settings affect others. Preserve the existing isolation model during testing unless changing it is part of a separately reviewed project.
Check third-party sources and supporting services
Do not assume an extra software source will automatically support the new Ubuntu release or provide compatible packages. Before upgrading, list the sources in use and check the relevant project’s own documentation for support for the target release. If that confirmation is missing, treat compatibility as unknown—not as an expected part of the upgrade.
Review services by role so that the operating-system result does not hide an application-level failure:
- Web service: configuration test, service status, virtual hosts, access logs, and error logs.
- Database: service status, application connection, and a representative read and write operation.
- Control panel: login, site and PHP settings, certificate management, and any panel-managed service actions.
- Scheduled jobs: timers and cron entries, application command paths, and the logs for a representative run.
Useful discovery commands include:
systemctl --failed
systemctl list-units --type=service --state=running
journalctl -p warning --since "today" --no-pager
These commands provide a starting point, not a complete audit. A service missing from the running list may be intentionally stopped; a service marked active may still fail when a site uses it. Match the output to the inventory, and consult the relevant project’s documentation before treating a package or panel as compatible.
A staged path from preparation to production
A safe Ubuntu Server upgrade is a controlled change with evidence at each stage. Follow the official Ubuntu upgrade instructions for the supported release path and command options. Do not copy an upgrade command from an unrelated server or assume that a remote session will recover automatically if connectivity is lost.
- Prove the recovery route. Confirm that the site data, databases, configuration, and required secrets can be restored from a recovery copy or other documented backup. Perform a restore rehearsal where possible. A backup that has never been restored is an untested assumption.
- Capture the current state. Record the Ubuntu release, installed PHP runtimes, FPM units and pools, enabled extensions, web-server configuration, database services, external software sources, and scheduled jobs. Save the site inventory alongside the change record.
- Check official prerequisites. Review Ubuntu’s current upgrade instructions and release information. Resolve package-manager issues and decide how each third-party source will be handled before starting.
- Test on a recoverable copy. Reproduce the relevant services and site configuration. Apply the planned upgrade there, then inspect package and service results. Keep the test representative of the actual production sites; a clean test install does not verify inherited configuration.
- Verify each site and its dependencies. Check the FPM service and socket, web-server configuration, required extensions, database connectivity, and the application actions listed in the inventory. Record failures instead of masking them with repeated restarts.
- Schedule production only after the test passes. Define the change window, who will validate each site, and how the team will stop or reverse the change if checks fail. Follow the official instructions for the actual upgrade route and remote-access precautions.
- Run site-by-site acceptance checks. Confirm normal requests and important workflows for every domain. Keep production cutover incomplete until all required sites have passed their checks or have a documented, accepted exception.
Do not promise a particular downtime or recovery time based on the operating-system upgrade alone. Those depend on the environment, the recovery method, and how the application is deployed. If there is no console or other independent recovery route, do not assume that a remote upgrade can always be rescued from a network or boot problem.
Choose in-place upgrade or parallel migration by recovery risk
An in-place upgrade changes the existing server environment. A parallel migration creates or prepares a separate target environment and moves sites across in a controlled order. Neither option is automatically safer for every team. Decide based on dependency complexity, the ability to test, and how clearly the team can return to a known-good state.
| Option | Best fit | Main checks and trade-offs | Rollback approach |
|---|---|---|---|
| In-place upgrade | Few external dependencies, well-documented configuration, and a representative copy that passes site checks | Less environment duplication, but multiple sites share one change window and inherited settings can cause surprises | Use the recovery method proven before the change; do not assume the upgrade command provides automatic rollback |
| Parallel migration | Several sites with different runtime needs, uncertain software-source support, or a need to move domains in stages | Requires preparing and validating a separate target and coordinating data changes and traffic cutover | Keep the original environment available until the migrated sites and their workflows are accepted |
If the current configuration is simple and the copy passes all required tests, an in-place upgrade can be evaluated. If sites depend on different runtimes, a panel or external package source has unclear support, or recovery is uncertain, evaluate a staged migration instead. Moving one site at a time can reduce the scope of each cutover, but it does not remove the need to validate data consistency, DNS or routing changes, and application workflows.
For teams comparing migration sequences, our guide to planning application and database migration order discusses how dependencies affect cutover planning. If a separate environment is required to manage several sites under one operating system, a dedicated physical server may suit that operating model better than a shared instance. NetAmd’s published multi-site server information lists one IPv4 address by default, with additional addresses available individually up to 256 per server; confirm current availability and terms on the NetAmd server page.
A dedicated server is not the right answer for every upgrade. A lightweight site, short-lived test, or workload that needs rapid elastic scaling may be better served by its existing platform. But when several production sites need a consistently managed runtime and isolated server resources, shared hosting or a VPS can leave less control over the underlying environment. In that case, reviewing NetAmd’s dedicated-server options is a reasonable next step—after the upgrade plan, site inventory, and recovery path are clear.
Further reading
Validate Your Ubuntu Upgrade on Dedicated AMD Hardware
Provision a NetAmd AMD EPYC 7543P server with Ubuntu Server 26.04 LTS and test PHP-FPM and your sites before changing production.