1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Which Web server software?

Discussion in 'Site & Server Administration' started by ct2k7, May 17, 2008.

  1. #1
    Hi, which web server software is the fastest and not that resource hogging when it comes to serving dynamic pages, aka PHP files?

    Also, it should be able to be integrated with cPanel, if possible :)

    Thanks.
     
    ct2k7, May 17, 2008 IP
  2. wisdomtool

    wisdomtool Moderator Staff

    Messages:
    15,825
    Likes Received:
    1,367
    Best Answers:
    1
    Trophy Points:
    455
    #2
    I think the standard Apache and lighthttp.
     
    wisdomtool, May 17, 2008 IP
  3. relixx

    relixx Active Member

    Messages:
    946
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    70
    #3
    lighttpd is by far the most efficient web server to date. Sites that share lots of static content, such as Youtube, Sourceforge and even Wikipedia make use of it.

    Only catch is that it isn't supported by Cpanel :(
     
    relixx, May 18, 2008 IP
  4. eddy2099

    eddy2099 Peon

    Messages:
    8,028
    Likes Received:
    568
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Default support is only for Apache.
     
    eddy2099, May 18, 2008 IP
  5. relixx

    relixx Active Member

    Messages:
    946
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    70
    #5
    I've not really used Cpanel before, but I suppose you could hack it to use lighttpd?
     
    relixx, May 18, 2008 IP
  6. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #6
    The only interchangeable one that I know of it LiteSpeed. As "good" as it is, it's not free (well, there is a free version but it has a 5 vHost limit) and not open source.
     
    jayshah, May 18, 2008 IP
  7. ct2k7

    ct2k7 Peon

    Messages:
    457
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    hmm ok Thanks ;) I'll stay with Apache - who's eating my memory ...
     
    ct2k7, May 18, 2008 IP
  8. relixx

    relixx Active Member

    Messages:
    946
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    70
    #8
    If the content is static like pictures and the like, why not just have it served by another server? :)
     
    relixx, May 18, 2008 IP
  9. alikuru

    alikuru Peon

    Messages:
    44
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I agree. I'm using lighty on my VPS almost for a year now and satisfied with its overall performance.

    I've searched a lot before I decided to use lighty and, almost every article I read, it's been told that "if your intention is to serve mostly static files; use lighty (like Wikipedia and Youtube), if your web page have mainly dynamic content; go with Apache".

    Although I have dynamic content on my pages, I've choosen lighty because of its minimal memory footprint fits my 256 megs VPS :)
     
    alikuru, May 18, 2008 IP
  10. relixx

    relixx Active Member

    Messages:
    946
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    70
    #10
    Well, the thing is that lighttpd uses fast-cgi for the PHP which means that, theoretically, you can get better performance than an Apache server as the PHP is seperated from the web server.
     
    relixx, May 18, 2008 IP
    ct2k7 likes this.
  11. alikuru

    alikuru Peon

    Messages:
    44
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Here is a very useful article about comparison of different methods for running PHP on a server; Running PHP on Shared Hosting (mentions the performance in 2nd section).
     
    alikuru, May 18, 2008 IP
    ct2k7 likes this.
  12. rootbinbash

    rootbinbash Peon

    Messages:
    2,198
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    0
    #12
    lighttpd is faster than apache.Fastest on earth is Tux but you cant serve php with it ^^
     
    rootbinbash, May 18, 2008 IP
  13. Trusted Writer

    Trusted Writer Banned

    Messages:
    1,370
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    160
    #13
    Apache 2.2 with CentOS 5
     
    Trusted Writer, May 18, 2008 IP
  14. ct2k7

    ct2k7 Peon

    Messages:
    457
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #14
    I can't upgrade to CentOS 5 unfortunately, and I'm again considering Lighttpd, I was thinking along the lines of relixx. Theory :)
     
    ct2k7, May 18, 2008 IP
  15. rootbinbash

    rootbinbash Peon

    Messages:
    2,198
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    0
    #15
    If you are serious about the speed, remove Centos and install gentoo.
     
    rootbinbash, May 18, 2008 IP
  16. ct2k7

    ct2k7 Peon

    Messages:
    457
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #16
    It's a VPS - so I can't really do so - nor do they offer the option anymore...
     
    ct2k7, May 18, 2008 IP