Answered by : condemned-caribou-snfr1alqc56g
Listen 8056
<VirtualHost *:8056> <FilesMatch "\.php$"> SetHandler application/x-httpd-php56-cgi </FilesMatch>
</VirtualHost>
Source : https://stackoverflow.com/questions/45790160/is-there-way-to-use-two-php-versions-in-xampp | Last Update : Fri, 19 Jun 20
Answered by : condemned-caribou-snfr1alqc56g
<VirtualHost localhost56:80> DocumentRoot "C:\xampp\htdocs56" ServerName localhost56 <Directory "C:\xampp\htdocs56"> Require all granted </Directory> <FilesMatch "\.php$"> SetHandler application/x-httpd-php56-cgi </FilesMatch>
</VirtualHost>
Source : https://stackoverflow.com/questions/45790160/is-there-way-to-use-two-php-versions-in-xampp | Last Update : Fri, 19 Jun 20
Answered by : condemned-caribou-snfr1alqc56g
ScriptAlias /php56 "C:/xampp/php56"
Action application/x-httpd-php56-cgi /php56/php-cgi.exe
<Directory "C:/xampp/php56"> AllowOverride None Options None Require all denied <Files "php-cgi.exe"> Require all granted </Files>
</Directory>
Source : https://stackoverflow.com/questions/45790160/is-there-way-to-use-two-php-versions-in-xampp | Last Update : Fri, 19 Jun 20
Answered by : condemned-caribou-snfr1alqc56g
<Directory "C:\xampp\htdocs\my_old_project1"> <FilesMatch "\.php$"> SetHandler application/x-httpd-php56-cgi </FilesMatch>
</Directory>
<Directory "C:\xampp\htdocs\my_old_project2"> <FilesMatch "\.php$"> SetHandler application/x-httpd-php56-cgi </FilesMatch>
</Directory>
Source : https://stackoverflow.com/questions/45790160/is-there-way-to-use-two-php-versions-in-xampp | Last Update : Fri, 19 Jun 20
Answered by : condemned-caribou-snfr1alqc56g
SetEnv PHPRC "\\path\\to\\xampp\\php"
Source : https://stackoverflow.com/questions/45790160/is-there-way-to-use-two-php-versions-in-xampp | Last Update : Fri, 19 Jun 20