We would like to test our application on PHP 7.1. To do that, we need to install/deploy XAMPP 7.1.1.
You can download installer or portable XAMPP 7.1.1 packages at https://www.apachefriends.org/download.html or https://sourceforge.net/projects/xampp/files/ (non installer). I prefered to use portable XAMPP 7.1.1 package, xampp-portable-win32-7.1.1-0-VC14.7z.
XAMPP 7.1.1 required Microsoft Visual C++2015 Runtime. You can download it from Microsoft Visual C++ 2015 Redistributable Update 3 (latest when this article written). Choose your Windows platform that you used, 32 bit or 64 bit. Download and install it.
Extract xampp-portable-win32-7.1.1-0-VC14.7z, into your drive for example C:. It will create folder C:\xampp.
Before you use it, do this to avoid some problems:
- Edit file C:\xampp\mysql\bin\my.ini
change key_buffer to key_buffer_size for example:
...
key_buffer to key_buffer_size = 16M
... - Create folder C:\xampp\mysql\lib\plugin
You may start or stop your apache
- Using XAMPP Control "xampp-control.exe"
- Running on cmd "apache_start.bat" to start and "apache_stop.bat" to stop (I prefere this).
You may start or stop your mysql (MariaDB)
- Using XAMPP Control "xampp-control.exe"
- Running on cmd "mysql_start.bat" to start and "mysql_stop.bat" to stop (I prefere this).
Note:
- XAMPP folder required directly under drive for example C:\xampp, D:\xampp, etc, it may fail to start.
- Do not rename xampp folder, it may fail to start.
.