A Alborz Active Member Oct 3, 2011 #1 Oct 3, 2011 #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
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
N NiteWave Administrator Oct 3, 2011 #2 Oct 3, 2011 #2 chroot won't work with cPanel since its complexity(my guess) Set UID Mode as Doc Root UID Click to expand... I think just enable php suExec will do it lsws admin console->Configuration->Server ->General->PHP suEXEC:Yes
chroot won't work with cPanel since its complexity(my guess) Set UID Mode as Doc Root UID Click to expand... I think just enable php suExec will do it lsws admin console->Configuration->Server ->General->PHP suEXEC:Yes
A Alborz Active Member Oct 3, 2011 #3 Oct 3, 2011 #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?
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?
A Alborz Active Member Oct 3, 2011 #5 Oct 3, 2011 #5 NiteWave said: as I said in previous post: enable php suExec Click to expand... php suExec is enabled
NiteWave said: as I said in previous post: enable php suExec Click to expand... php suExec is enabled
N NiteWave Administrator Oct 3, 2011 #6 Oct 3, 2011 #6 can you give a screenshot of Configuration->Server->General->Using Apache Configuration File
A Alborz Active Member Oct 3, 2011 #7 Oct 3, 2011 #7 NiteWave said: can you give a screenshot of Configuration->Server->General->Using Apache Configuration File Click to expand... The screenshot attached. Attachments Clipboard01.jpg 49.8 KB Views: 6
NiteWave said: can you give a screenshot of Configuration->Server->General->Using Apache Configuration File Click to expand... The screenshot attached.
N NiteWave Administrator Oct 3, 2011 #8 Oct 3, 2011 #8 it should work as expected. please give the output of: #ps -ef|grep lsphp
M mistwang LiteSpeed Staff Oct 3, 2011 #9 Oct 3, 2011 #9 check phpinfo() page under Litespeed, open_basedir is enforced, so id command cannot be executed successfully, suphp does not support open_basedir.
check phpinfo() page under Litespeed, open_basedir is enforced, so id command cannot be executed successfully, suphp does not support open_basedir.
A Alborz Active Member Oct 9, 2011 #10 Oct 9, 2011 #10 mistwang said: check phpinfo() page under Litespeed, open_basedir is enforced, so id command cannot be executed successfully, suphp does not support open_basedir. Click to expand... I disable open_basedir and rebuild apache conf but the Id command can not run yet.
mistwang said: check phpinfo() page under Litespeed, open_basedir is enforced, so id command cannot be executed successfully, suphp does not support open_basedir. Click to expand... I disable open_basedir and rebuild apache conf but the Id command can not run yet.
M mistwang LiteSpeed Staff Oct 9, 2011 #11 Oct 9, 2011 #11 double check phpinfo() to make sure open_basedir is really disabled.