Created
January 31, 2023 09:00
-
-
Save philipborbon/bc1e5686d42ff7f1bd181a61dbdf7c34 to your computer and use it in GitHub Desktop.
XAMPP Multi PHP Version Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
DocumentRoot "/path/to/project" | |
ServerName dev.project | |
<Directory "/path/to/project"> | |
Options Indexes FollowSymLinks Includes ExecCGI | |
AllowOverride All | |
Require all granted | |
</Directory> | |
<FilesMatch "\.php$|\.php5$|\.php4$|\.php3$|\.phtml$|\.phpt$"> | |
SetHandler application/x-httpd-php56-cgi | |
</FilesMatch> | |
</VirtualHost> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment