I find @camelCase good, but you can also try this method. It can satisfy your needs.
Migrating to PHP7 in XAMPP Before proceeding, I recommend making a backup of your XAMPP configuration. After you backed up below, follow a few steps to use PHP7 in your XAMPP
- Download PHP7 . Download php7 from php.net.
If your apache is thread safe, then download the thread safe version of PHP7, otherwise load NTS ie without thread safety.
Put PHP in the appropriate place in XAMPP . Put your PHP7 in your XAMPP. I usually prefer to place / XAMPP / php 7 in place, but you can put as you need. There are no restrictions for posting your new php version in xampp.
Enable PHP7 with your apache . In XAMPP, PHP is configured using the apache file path [yourxampp / apache / conf / extra / httpd-xampp.conf]. Please open the file, first add all the path variables from the php7 directory.
Also do not forget to add the php7 module using the code below
LoadFile yourxampppath/php7/php7ts.dll LoadFile yourxampppath/php7/libpq.dll LoadModule php7_module yourxampppath/php7/php7apache2_4.dll
Be sure to change the PHP ini directory for your PHP7
<IfModule php7_module> PHPINIDir "yourxampppath/php7" </IfModule>
Chechout www.techflirt.com
source share