by default mod_suphp is activated but it really slow, i do small benchmark on VPS with 512mb RAM
ab -n 1000 -c 20 http://ip
mod_suphp = 3 - 6 request/second
mod_ruid2 = 300 - 400 request/second
ab -n 10000 -c 100 http://ip
mod_suphp + varnish = 1000 - 1200 request/second
mod_ruid2 + varnish = 7000 - 8000 request/second
I like mod_ruid2 its similiar to mod_suphp (run as the owner, edit, upload file/folder without change permission) but faster and compatible with php opcode caching like PHP APC.
i hope in next release mod_ruid2 will be enabled by default or we can choose what moduled should be used.
my solution to enable mod_ruid2
1. disable mod_suphp in control panel
2. edit webuzoVH.conf
from
Code <Directory /home/user/public_html/cgi-bin>
RMode stat
RUidGid user user
</Directory>
to
Code <Directory /home/user/public_html>
RMode stat
RUidGid user user
</Directory>
3. restart httpd/apache service
|