This is an old revision of the document!


Troubleshooting LiteSpeed Web Server with cPanel/WHM

This wiki will address problems that may occur on a LiteSpeed Web Server/WHM installation. The installation process is covered in our auto-installer wiki.

Note: For free support for issues using LSWS with cPanel/WHM (i.e. problems that you have verified do not occur when you switch back to Apache), please use the LiteSpeed forum. cPanel support will not handle LiteSpeed Web Server issues.

Insufficient process memory may result in the following error messages (when you try to build matching PHP):

Found Errors

ERROR: /usr/local/bin/php -i returns 6 

You can try to build matching PHP from command line: 
"/usr/local/cpanel/whostmgr/cgi/lsws/cmd_buildmatchingphp.sh"

or

Found Errors

ERROR: /usr/local/bin/php -i returns 134

You can try to build matching PHP from command line: 
"/usr/local/cpanel/whostmgr/cgi/lsws/cmd_buildmatchingphp.sh"

To fix this, try increasing the “Max cPanel process memory (Minimum: 512)” in WHM > Server Configuration > Tweak Settings.

In order for configuration changes to take effect, LiteSpeed Web Server should restart automatically. Do NOT uncheck the “httpd” service under WHM > Service Configuration > Service Manager. If unchecked, WHM will not restart LiteSpeed automatically when configurations have been changed.

cPanel may set permissions for /usr/bin/gcc to 0700. This will break our PHP build script. To fix this, change the permissions for the directory:

chmod 0755 /usr/bin/gcc

After finishing your PHP build, you can change permissions back:

chmod 0700 /usr/bin/gcc
  • Admin
  • Last modified: 2013/11/25 16:39
  • by Michael