LiteSpeed For Shared Hosting

#1
Hello,
I Want Setup My New Server By LiteSpeed ( Shared Hosting Server )

On My Old Server I Use cPanel - Apache 2.2 - PHP 5.2 - suPHP Handler
And I'm Happy With This Configuration ( Specially About Security ) Exept Apache Requests ! I Want Support More High Traffic Sites.

So :

1 -Should I Run LiteSpeed And Apache Together Or Just Litespeed ? (Which Method Is Better For Shared Hosting ? Wich Method Is Better For Security And Performance ? )

2 - Can I Use suPHP Handler on LiteSpeed ? If I Can't Wich PHP Handler Is Best For Security on LiteSpeed ?
 
Last edited:

NiteWave

Administrator
#2
in general, should run 1 web server only -- either litespeed or apache

litespeed can run with apache at the same time -- for example, litespeed listen to port 2080, while apache listen to port 80. but this should only happen when first time to install litespeed to replace apache, for a short period, to watch and compare if everything is ok on both side. so for your question 1, should run litespeed only.

can you give one or a few example of "suPHP Handler"?
 
#3
Thanks,

OK ,

About suPHP :

suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter.

More Info : http://www.suphp.org/Home.html

suPHP Is One Of Cpanel PHP Handlers For Apache ( suPHP , FCGI , DSO , CGI ... )
 

NiteWave

Administrator
#4
lsphp with suExec enabled is very close to suPHP.

I think need some manual work to convert suphp settings to work with lsphp.

http://www.suphp.org/FAQ.html
"suPHP does not support the php_value/php_admin_value directive known by mod_php to parse configuration options to scripts for certain virtual hosts or directories."

in contrast, lsphp support php_value/php_admin_value. using both PHPRC and php_value/php_admin_value, the suphp configuration can be converted to work with lsphp well. for PHPRC, please refer wiki page:
http://www.litespeedtech.com/suppor...speed_wiki:per_user_ini_in_control_panel_lsws
Per user php.ini under Control Panel + LSWS
 
Top