version php for each type virtualhost
Posted by: tqqkhang2006@gmail.com (117.3.70.---)
Date: June 25, 2020 06:24AM

How to setup the php version for different virtual hosts on only wampserver?

Options: ReplyQuote
Re: version php for each type virtualhost
Posted by: Otomatic (Moderator)
Date: June 25, 2020 09:37AM

not possible

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

Options: ReplyQuote
Re: version php for each type virtualhost
Posted by: tqqkhang2006@gmail.com (117.3.70.---)
Date: June 26, 2020 04:53AM

Can we develop this feature?

Options: ReplyQuote
Re: version php for each type virtualhost
Posted by: Otomatic (Moderator)
Date: June 26, 2020 10:10AM

Hi,

You do what you want, Wampserver is licensed under the GNU GPL.

To be able to have different PHP versions assigned to VirtualHost, you would have to run PHP as FCGI, which is not the current case for Wampserver where PHP is run as an Apache module.

On the other hand, you can set different PHP configuration parameters for each VirtualHost, but for the same version of PHP.

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

Options: ReplyQuote
Re: version php for each type virtualhost
Posted by: tqqkhang2006@gmail.com (---.viettel.vn)
Date: June 27, 2020 05:33PM

how can i do run PHP as FCGI?

Options: ReplyQuote
Re: version php for each type virtualhost
Posted by: RiggsFolly (Moderator)
Date: June 27, 2020 11:21PM

That you will have to research for yourself. Its all out there in the Apache and PHP manuals

See my signature for links to all the relebant manuals

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.