You might have a complex application in production and a new major version of you development framework is available. What are the options to build new versions of applications that coexists.
This exemple shows the possible options to run or develop multiple cakePHP versions in parallel on nginx as webserver.
Here is an overview of the basic options
Subdomains such as test.domain.com lets you fully separate your development and test environment from the production environment. Subdomains need to be configure in the webserver configuration files.
Subfolders such as www.domain.com/v01a/... lets you share webserver log file. You may want to have multiple version of your applications in production and lets steer the version by the subfolder which act as version.