By default, per user php.ini is disallowed in LSWS. Just an FYI, to enable per user php.ini, just follow the procedure below:
in cPanel/WHM environment, you enable/place mod_security rules (in modsecurity.conf or etc) as if it runs with Apache. LSWS should automatically support them. There is no need to place rules in LSWS Admin CP. LiteSpeed can disable mod_security related directives in .htaccess with an configuration option.
https://www.litespeedtech.com/docs/webserver/config/reqfilter/#disableSecHtaccess
LSWS uses the same php.ini as Apache (you need to enable Matching PHP integration from LSWS cPanel/WHM plugin and build matching PHP in LSWS)
LSWS uses its own LSPHP (LSAPI + PHP) to execute PHP requests.
https://www.litespeedtech.com/products/litespeed-sapi/php
It is similar to FCGI PHP, it has same or better performance that apahce DSO. PHP suEXEC can be enabled easily with a switch in LSWS.
https://www.litespeedtech.com/docs/webserver/config/general/#phpSuExec
No, LSWS standard configuration should handle medium-loaded server just fine.
You can choose a trial license (Web Host Professional equivalent and good for 15 days) and upgrade to higher CPU core license as needed. Following provides more details:
Yes, you can create your own custom error page.
https://www.litespeedtech.com/support/forum/showpost.php?p=24880&postcount=4
There is no need to change Apache server configuation. LSWS is a drop-in replacement of Apache.
No, LSWS understands Apache configuration and just behave the same way as Apache (as a drop-in replacement)
yes. There are 5 levels of error log, ERROR/WARNING/NOTICE/INFO/DEBUG. if you set to ERROR, only critical errors are logged.
You can turn keepalive on/off at admin console after installation. either works well under litespeed. Since litespeed is event-driven, as server admin, you needn’t worry about rest parameters any more and performance is much better.
In shared hosting, PHP suExec should be turned on for security, and its performance is much better than SuPHP. refer our benchmark result:
Yes, LSWS allows users to keep their own php.ini when PHP suEXEC is enabled as pointed out here:
Since suPHP is not supported, /opt/suphp/etc/suphp.conf will be ignored.
LiteSpeed does not care. LiteSpeed use our own LSAPI PHP, which combines all the advantages of mod_php (DSO), FCGI, suPHP, multiple version of PHP can coexist. LiteSpeed does not care what PHP is used in Apache, our PHP solution can do everything that the most complex Apache PHP setup can do, even be able to something very difficult to do in Apache, like using 5 different versions of PHP at the same time.
Once matching PHP is built in LSWS, the same version of Zend/ioCube (in Apache) will be used in LSWS.
Yes, LSWS honors Apache Settings as mentioned above.
No, Litespeed is not vulerable to the Range header attack, it is due to poor implementation in Apache.
No, LSPHP (with PHP suEXEC ⇒ on) work just fine.
Yes, they are working with LSWS right after they are added in WHM. Just like as if Aapche was used.
Yes, they are working with LSWS right after they are added. Just like as if Aapche was used.
It is because httpd is disabled in cPanel (cPanel/WHM ⇒ Service Configuration ⇒ Service Manager ⇒ httpd (Web Server) unchecked for Enabled). Need to have Enabled checked.
See this for further troubleshooting steps.