1Listen 8056
2<VirtualHost *:8056>
3 <FilesMatch "\.php$">
4 SetHandler application/x-httpd-php56-cgi
5 </FilesMatch>
6</VirtualHost>
1<VirtualHost localhost56:80>
2 DocumentRoot "C:\xampp\htdocs56"
3 ServerName localhost56
4 <Directory "C:\xampp\htdocs56">
5 Require all granted
6 </Directory>
7 <FilesMatch "\.php$">
8 SetHandler application/x-httpd-php56-cgi
9 </FilesMatch>
10</VirtualHost>
1ScriptAlias /php56 "C:/xampp/php56"
2Action application/x-httpd-php56-cgi /php56/php-cgi.exe
3<Directory "C:/xampp/php56">
4 AllowOverride None
5 Options None
6 Require all denied
7 <Files "php-cgi.exe">
8 Require all granted
9 </Files>
10</Directory>
1<Directory "C:\xampp\htdocs\my_old_project1">
2 <FilesMatch "\.php$">
3 SetHandler application/x-httpd-php56-cgi
4 </FilesMatch>
5</Directory>
6
7<Directory "C:\xampp\htdocs\my_old_project2">
8 <FilesMatch "\.php$">
9 SetHandler application/x-httpd-php56-cgi
10 </FilesMatch>
11</Directory>