Set UID Mode and Chroot Mode in cpanel

Alborz

Active Member
#1
Hi guys,

How can enable Set UID Mode as Doc Root UID and Chroot Mode as Virtual Host Root when install lsws on cpanel?


Thanks
 

NiteWave

Administrator
#2
chroot won't work with cPanel since its complexity(my guess)

Set UID Mode as Doc Root UID
I think just enable php suExec will do it

lsws admin console->Configuration->Server
->General->PHP suEXEC:Yes
 

Alborz

Active Member
#3
when I run a php file in my server id is user= uid= gid=
I see another server that same script export this:
user=someuser uid=692 gid=689
How can I do this in my own server?
 

mistwang

LiteSpeed Staff
#9
check phpinfo() page under Litespeed, open_basedir is enforced, so id command cannot be executed successfully, suphp does not support open_basedir.
 
Top