Websites with different PHP versions
Posted by: cobra-arbok (---.pool-bba.aruba.it)
Date: August 23, 2023 05:29PM

I'm new to WAMPServer.
How can I install websites, but with different PHP versions?
For example Site1 with 7.4, Site2 with 8.0 and Site 3 with 8.1

Thanks in advance for the help.

Options: ReplyQuote
Re: Websites with different PHP versions
Posted by: Otomatic (Moderator)
Date: August 24, 2023 08:42AM

For your websites, as with all hosting providers, you need to use VirtualHost.

See:
The need for Virtual Host
and
Wampserver 3 - Create or add a VirtualHost

And when creating the VirtualHost, you'll see that you can use the FCGI (Fast CGI) mode, which allows you to choose which PHP version to use, of course, provided that this PHP version has been installed on Wampserver.

On https://wampserver.aviatechno.net/ , you can choose from 100 PHP versions.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.