The separation process
Although the process itself is straightforward, the change we are making is a foundational one. It affects the server configuration as well as the legacy application structure. To fully effect this change, we will need to coordinate closely with any operations personnel who are in charge of server deployments.
In general, the process is as follows:
- Coordinate with operations to communicate our intentions.
- Create a new document root directory in our legacy application, along with a temporary index file.
- Reconfigure the server to point to the new document root directory, and spot check the new configuration to see if our temporary index file appears.
- Remove the temporary index file, then move all public resources to the new document ...
Get Modernizing Legacy Applications in PHP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.