The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache 2.4 vs Litespeed

Discussion in 'Workarounds and Optimization' started by Nickw, Oct 9, 2013.

  1. Nickw

    Nickw Member

    Joined:
    Jun 26, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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,
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. VirtuaLira

    VirtuaLira Well-Known Member

    Joined:
    Feb 1, 2004
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chile
    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...
     
  4. HSN-Saman

    HSN-Saman Member

    Joined:
    Jan 11, 2013
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    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.
     
  5. ivan.g

    ivan.g Member

    Joined:
    Mar 5, 2008
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
Loading...

Share This Page