The same PHP handler with different configurations

startbrand

Registered
Apr 30, 2018
4
0
1
Japan
cPanel Access Level
Root Administrator
Hi,

When setting the handlers for each PHP version, is it possible to:

Have php7.0 use CGI
Have php7.1 use CGI with SuEXEC (mod_ruid2)

or

Have php7.0 use FCGI
Have php7.1 use FCGI with SuEXEC

or

Have php7.0 use SuPHP
Have php7.1 use SuPHP with SuEXEC

Is each handler installed with a specific configuration, then that same configuration is
used for any PHP version the uses it?

Thanks
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Hi @startbrand

Because mod_suexec and mod_ruid2 are apache modules where CGI and FCGI are per PHP version handlers you wouldn't be able to delineate between the PHP versions which module you would or would not like to use. If mod_ruid2 is installed it will be applied/used for all PHP on the server and the same would apply for mod_suexec - also keep in mind that mod_ruid2 is essentially a suexec module as well.