Apache 2.4 vs Litespeed
Hi,
We currently use Litespeed on our production servers, we've found the performance improvement of great benefit.
The drawbacks of Litespeed that we've observed:
1) Lack of official cPanel support, makes getting support difficult sometimes
2) Lack of mod_security support (although i must admit this is getting better)
I'm wondering if it's worth giving Apache 2.4 a go. I've read some good things around the internet. For anyone using Apache 2.4 i'd be interested in hearing your thoughts. Recommended configurations for things like:
PHP - fcgi or suPHP?
Any Opcode Cache with FCGI for further improvement?
MPM Options (i'm not sure on the specifics of MPM i've only just started looking into it)
Thanks,
-
Hello :) I have moved this thread to the "Optimization" forum. You should receive more user feedback here. Thank you. 0 -
I see a lot of post of this kind, but no answer, I looking for new post of Optimization/Apache but always the asnwer is look in the forum Optimization... but all the post is the same and no answer... 0 -
FCGI and SuPHP are both great, I'd use SuPHP when security is a concern and FCGI when needs to run few websites on a server as it's faster and use less resources . Opcode cache is useful to reduce the load on the server with any kind of PHP Handlers. I've been big fan of MPM Worker all the times but it's hard to get it configured it you're not experienced with . I always prefer an Apache build to Litespeed in any scenario and all the times because of it's flexibility ,stability, security and speed . Thanks. 0 -
We did not try Lightspeed with cPanel, but using the following setup and it works great performance-wise: - Apache 2.4 with MPM Event and mod_fcgid (via Easyapache) - Cloudlinux with PHP selector, having APC and Zend opcache (this cold have been native cPanel PHP with same setup: APC + Zend opcache) - Optimumcache (by Cloudlinux) This setup runs really well and sites are loading real fast. You can still use Apache 2.2 with similar setup - MPM Event, same works with no issues. In our experience suPHP gives awful performance and not giving any real security benefits. In the setup above PHP runs as process and owned by the user, which means default file permissions on user folders user:user work well. Apache runs as nobody. 0
Please sign in to leave a comment.
Comments
4 comments