multiple-php-version-with-xampp
multiple-php-version-with-xampp copied to clipboard
Fix for file php72-php-multiple-version.local.conf
Hello. I read your tutorial and it's very useful. I tried it on my local but i found i little mistake.
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "C:/Projects/php-multiple-version/"
ServerName php72-php-multiple-version.local
ErrorLog "logs/php72-php-multiple-version.local-error.log"
CustomLog "logs/php72-php-multiple-version.local.log" common
FcgidInitialEnv PHPRC ${PHP_72_RC}
<Directory "C:/Projects/php-multiple-version/">
Define PHP_CGI >${PHP_71_CGI}< will be ${PHP_72_CGI}
Include "conf/php.d/php_cgi.conf"
</Directory>
</VirtualHost>
Thank you to share with us
This is version i added php 5.1 to 7.2
- Download from http://www.mediafire.com/file/7s4zwhn1xjgddg6/xampp-multiple-php-versions-v1.zip/file (github don't support files large than 100MB)
- Extract to
D:. Your path will beD:\xampp - Copy content of file
D:\xampp\host.txttoC:\Windows\System32\drivers\etc\hosts - Run
D:\xampp\xampp-control.exeand open your browser with urls:
http://php51-php-multiple-version.local/phpinfo.php
http://php52-php-multiple-version.local/phpinfo.php
http://php53-php-multiple-version.local/phpinfo.php
http://php54-php-multiple-version.local/phpinfo.php
http://php55-php-multiple-version.local/phpinfo.php
http://php56-php-multiple-version.local/phpinfo.php
http://php70-php-multiple-version.local/phpinfo.php
http://php71-php-multiple-version.local/phpinfo.php
http://php72-php-multiple-version.local/phpinfo.php
we are done. if you want to create virtualhost, open folder D:\xampp\apache\conf\vhost, copy example config and change your path and domain. to kill php, please run D:\xampp\kill_php.bat
i will write docs for this version when i have time
@hugdx Could you provide new link for download? The link was invalid