xampp support multiple php version code example
Example 1: install multiple php versions windows xampp
Listen 8056
<VirtualHost *:8056>
<FilesMatch "\.php$">
SetHandler application/x-httpd-php56-cgi
</FilesMatch>
</VirtualHost>
Example 2: install multiple php versions windows xampp
SetEnv PHPRC "\\path\\to\\xampp\\php"