![]() Open xampp control panel, click config button for apache, and click Apache (nf). Then uncomment the following line: extension_dir = "ext" If the file does not exist copy php.ini-developmentto php.ini and open it in notepad. Open c:\xampp\php56\php.ini file in notepad. Download the php zip archive from here 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. Then you can set an older PHP version on a different port (say 8056) so when you go to runs php 7 and when you go to runs php 5.6. Run an older PHP version on a separate port of xampp: Sometimes you may be upgrading and old project to latest PHP version when you need to run the same project on new and older php version back and forth.Just configure xampp to run older PHP version only for those project directories. Run an older PHP version for only the directory of your old project: This will serve the purpose most of the time, you may have one or two old projects that you intend to run with older PHP version.Why switch between PHP versions when you can use multiple PHP version at a same time with a single xampp installation? With a single xampp installation, you have 2 options:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |