This file contains 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
########################################################################################################################## | |
# | |
# Define which version of PHP to run based on the URL, this allows to use different PHP versions on a same project | |
# It also allows to use different projects with different PHP versions at the same time | |
# | |
# Example 1: https://localhost/php74/my-project will run on PHP 7.4 | |
# https://localhost/php82/my-project will run on PHP 8.2 even though the sources are in the same folder | |
# | |
# Prerequisites: | |
# - Apache 2.4+ |