Apache Jails using mod_ruid2 are not compatible with suPHP

joomir

Registered
Jan 31, 2013
1
0
1
cPanel Access Level
Reseller Owner
Hi all,
My php handler is suphp. how can i enable Jail Apache when my handler is suphp.
when i enable Jail Apache i get this error:
Updating “EXPERIMENTAL: Jail Apache Virtual Hosts using mod_ruid2 and cPanel® jailshell.” from “Off” to “On”.
Apache Jails using mod_ruid2 are not compatible with suPHP.
Choose a different PHP handler if you wish to enable this feature.
There was an error updating “EXPERIMENTAL: Jail Apache Virtual Hosts using mod_ruid2 and cPanel® jailshell.”:
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

Mod_Ruid2 is required to utilize the “EXPERIMENTAL: Jail Apache Virtual Hosts using mod_ruid2 and cPanel® jailshell.” feature. It's not possible to use that option with suPHP. That said, the following document is helpful if you are seeking out alternate methods of protection against symbolic link attacks:

Symlink Race Condition Protection - EasyApache 4 - cPanel Documentation

Thank you.
 

quizknows

Well-Known Member
Oct 20, 2009
1,008
87
78
cPanel Access Level
DataCenter Provider
RUID pretty much eliminates the need for SuPHP anyway. The point of SuPHP is to run PHP as the user account; since RUID runs apache itself as the user account, forked PHP processes are already the correct user ID and thus SuPHP isn't needed.