Mklink /J C:\xampp\php C:\xampp\php-7.0.21Ĭopy C:\xampp\apache\conf\extra\nf C:\xampp\apache\conf\extra\nf Mklink /J C:\xampp\php C:\xampp\php-5.6.31ĭel C:\xampp\apache\conf\extra\nfĬopy C:\xampp\apache\conf\extra\nf C:\xampp\apache\conf\extra\nf Here is the code to include in the individual files: bat files, one for each PHP version that you want to manage. In C:\xampp** create a new folder with name "**php-switch" and create 3. Rename the C:\xampp\php folder to C:\xampp\php-7.1.7Įxtract the \xampp\php folder to C:\xampp\phpĪnd then rename it to C:\xampp\php-7.0.21Īnd then rename it to C:\xampp\php-5.6.31Īnd rename the nf file in nfįrom Xampp win32-5.6.31 version extract the \xampp\apache\conf\extra\nf file to C:\xampp\apache\conf\extra\nfĪnd then rename it to nf Unzip the Xampp win32-7.1.7 version in C:\ I'm currently using it to develop locally with Windows without having problems, the database remains unchanged and also the Apache nf configuration file: this allows the PHP version to be changed quickly and easily.įrom the official ApacheFriends website download the latest 3 versions of Xampp (Control Panel 3.2.2) for windows portable version: I found a solution to quickly change the version of PHP from 5.6, 7.0 and 7.1 with only one Xampp installation.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |