What to carry forward from an old CentOS 7 web-server guide

Inventory the domain, PHP runtime, database and scheduled work before planning a move from an old Apache, PHP and MySQL setup.

An older rack server on a light maintenance bench

An old deployment note can be useful even when the distribution it describes has reached the end of its life. A line about an Apache virtual host tells you which name was served and where the application lived. An instruction for a specific package repository belongs to the system of its time.

CentOS Linux 7 reached end of life on June 30, 2024. The CentOS project notice gives that date. If the running application is still useful, preserve its operational requirements and check the supported choices for the replacement environment.

Inventory the parts people rely on

Start with the virtual host, redirects, document root, PHP extensions and database connection. Record the jobs that generate files, run cleanup or send mail. Check where media uploads go and which directories the web process can write. Include any service that calls the application from outside.

A PHP version label is only part of the runtime. In a fictional appointment tool, the export worked because a particular extension was installed and a scheduled script ran under a specific account. A copy of the HTML files would preserve neither of those conditions. Check the PHP support schedule and the application vendor’s requirements when selecting the new version.

Test behaviour from a restorable copy

Create a backup of the database and uploaded files using the process appropriate to the existing application. Restore the copy in an environment you control and work through one ordinary use of the site. Check the login, one write, one download and the next scheduled run where they exist. Read the logs for errors that the interface hides. Compare the output with the original using anonymised or synthetic records.

Make the rollback decision before changing the live routing. Record which backup can be restored, what happens to writes after a switch and who can verify the result. An old guide is strongest as a record of the dependencies it reveals. Those details can help you test a supported deployment without replaying its original installation steps.