xampp use different php version code example
Example 1: install multiple php versions windows xampp
extension_dir = "ext"
Example 2: install multiple php versions windows xampp
SetEnv PHPRC "\\path\\to\\xampp\\php"
extension_dir = "ext"
SetEnv PHPRC "\\path\\to\\xampp\\php"