Installing on H-Sphere Server

Navigation:  Installation >

Installing on H-Sphere Server

Previous pageReturn to chapter overviewNext page

For H-Sphere 3.5+

 

Requirements

 

  1. CloudLinux with liblve 0.8 or later.

  2. Apache 2.2.x or 1.3.

  3. mod_suexec should be enabled.

 

To achieve optimal performance, we recommend to convert from mod_fastcgi to mod_fcgid

 

Installing CloudLinux Enhancement

 

There is no need to install mod_hostinglimits -- it comes built in with H-Sphere. Once you load kernel from CloudLinux with liblve 0.8 or later -- it will get enabled.

 

You can check if LVE is enabled by running:

 

$ ps aux | grep httpd | grep DLIBLVE

 

If you see no output, it means that Apache didn't pick up LVE. Try checking file /hsphere/shared/scripts/apache-get-env.sh

 

The following lines should be there:

 

if [ -e /usr/lib64/liblve.so.0 -o -e /usr/lib/liblve.so.0 ]; then
  APENV_DSSL="$APENV_DSSL -DLIBLVE"
fi

 

If those strings are absent, you should add it, after:

 

else
  APENV_DSSL='-DSSL'
fi
###

 

and before:

 

# this is used by apacheGetEnv.pm perl module
if [ "$1" = 'show' ] ; then
  set | egrep "^APENV_"
fi

 

strings. Restart Apache afterward.

 

 

* don't forget to convert from mod_fastcgi to mod_fcgid