Xampp multiple php , different php for projects
How to Set Multiple PHP Versions in XAMPP
windows PHP archives:
https://windows.php.net/downloads/releases/archives/
Multiple PHP versions in XAMPP configurations
https://gist.github.com/Tynael/e69c0254c1ea3fc56420fe8441bb0764
httpd-xampp.conf:
# PHP 8.2.17 Set-up
ScriptAlias /php8217/ "C:/Server/xampp-portable-windows-x64-7.4.33-0-VC15/xampp/php8217/"
Action application/x-httpd-php8217-cgi "/php8217/php-cgi.exe"
AllowOverride None
Options None
Require all denied
Require all granted
SetEnv PHPRC "C:/Server/xampp-portable-windows-x64-7.4.33-0-VC15/xampp/php8217"
# PHP8 customproject PHP 8.2.17
UnsetEnv PHPRC
php_flag engine off
SetHandler application/x-httpd-php8217-cgi