Add the ability to pick php ver per site

Started by razor32, March 12, 2018, 03:54:28 AM

Previous topic - Next topic

razor32

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

Jamshed Datori

I highly recommend this option so that we can have a better experience of using php versions.

Glenn

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

Jamshed Datori

Quote from: 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

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.

Gogo

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.