Control Web Panel

WebPanel => Addons => Topic started by: razor32 on March 12, 2018, 03:54:28 AM

Title: Add the ability to pick php ver per site
Post by: razor32 on March 12, 2018, 03:54:28 AM
Can you add the ability to pick the ver of php to use on a domain in the domain name add tab like some of the other control panels have? like domain 1 uses php 5.6 and domain 7 and 8 use php 7.1 so on and so forth. for some reasion the .htaccess file not working with cwp7 pro
Title: Re: Add the ability to pick php ver per site
Post by: jamshed_206 on March 12, 2018, 03:49:22 PM
I highly recommend this option so that we can have a better experience of using php versions.
Title: Re: Add the ability to pick php ver per site
Post by: Glenn on March 12, 2018, 04:24:29 PM
Hi there

This has been available for a while already , just install the versions of php you want and read this

http://wiki.centos-webpanel.com/php-selector
Title: Re: Add the ability to pick php ver per site
Post by: jamshed_206 on March 13, 2018, 02:03:02 AM
Hi there

This has been available for a while already , just install the versions of php you want and read this

http://wiki.centos-webpanel.com/php-selector

Yeah I know but it will be very good to have a dropdown box for PHP version selector in Client Panel just like cPanel have.
Title: Re: Add the ability to pick php ver per site
Post by: Gogo on March 15, 2018, 11:52:32 PM
At this way you can run different versions for every directory you have in public path.
Cpanel (as far as I know, correct me if I'm wrong) will run globaly one version per user no matter on directory you are in atm.

At this way if you want your ./public_html can be PHP 5.6, ./public_html/foo1 can be PHP 7.2, ./public_html/foo2 can run PHP 7.1, etc.