H-Sphere and LVE
Requirements
- CloudLinux with LVE 0.7 or later
- Apache 2.2.x or 1.3
- mod_suexec should be enabled
Installing CloudLinux enhancements
# yum install mod_hostinglimits-hsphere
Optionally you can compile software from source:
Source tarballs : Additional config files:FastCGI support
To install LVE support for mod_fastcgi
# yum install mod_fastcgi-hsphere
That RPM will replace default mod_fastcgi.so with the one enhanced by CloudLinux
Alternatively you can use this guide to switch to mod_fcgid
* One important consideration with mod_fcgid is to set PHP_FCGID_CHILDREN=0 in php wrapper. See http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#examples for more details
Changes introduces by RPMs
For apache 1.3 we will add a line at the end of the /hsphere/shared/apache/conf/custom.conf to include hsphere_modhostinglimits config file. For Apache 2.2, file /hsphere/shared/apache2/conf/custom.conf will be modified.
Comment out the include to disable mod_hostinglimtis
Edit hsphere_modhostinglimits config file to change mod_hostinglimtis parameters
Additional files installed:
/hsphere/shared/apache/conf/hsphere_modhostinglimits1_3.conf
/hsphere/shared/apache/libexec/mod_hostinglimits.so
/hsphere/shared/apache2/conf/hsphere_modhostinglimits.conf
/hsphere/shared/apache2/modules/mod_hostinglimits.so
mod_hostinglimits
<IfModule mod_hostinglimits.c> SkipErrors Off AllowedHandlers application/x-httpd-php5 application/x-httpd-php cgi-script php-script php5-script php4-script </IfModule>
php5 - will be executed as apache module.
Additional links
- http://64.131.90.141/docs/3.3/admin/parallels-hsphere-3.3-administrator-guide.pdf
- http://64.131.90.141/docs/
