Download the nts (Non Thread Safe) version of the PHP zip archive from php.net (see archive for older versions) and extract the files under c:\xampp\php56. So you have PHP 7 running under xampp, you want to add an older PHP version to it (say PHP 5.6). Run an older PHP version on a virtualhost: You can create a virtualhost like localhost56 to run PHP 5.6 while you can use PHP 7 on localhost. To do this you can set an older PHP version on a different port (say 8056) so when you go to xampp runs PHP 7 and when you go to xampp runs PHP 5.6. Run an older PHP version on a separate port of xampp: Sometimes you may be upgrading an old project to the latest PHP version and at the same time you need to run the same project back and forth between the new PHP version and the old PHP version. Just configure xampp to run an older PHP version for only those project directories. You may have one or two old projects that you intend to run with an older PHP version. Run an older PHP version for only the directory of your old project: This will serve the purpose most of the time. With a single xampp installation, you have 4 options: Why switch between PHP versions when you can use multiple PHP versions at the same time with a single xampp installation?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |