Activity Stream
48,167 MEMBERS
61763 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1.     
    #11
    Member
    Website's:
    oneddl.eu nfomation.net linksafe.me
    Quote Originally Posted by Mutikasa View Post
    lighttpd not developed? how come when the last version was in december.
    I had some problems setup php with nginx before
    My apologies, I meant not as actively developed.

    Both nginx and lighty proxy to external php interpreters like php-fpm, so the only part you could have gone wrong is in the nginx config, and thats pretty simple.

    Code: 
    location ~ \.php$ { # Filter out arbitrary code execution location ~ \..*/.*\.php$ {return 404;} include fastcgi_params; fastcgi_pass 127.0.0.1:9000; }

  2.   Sponsored Links

  3.     
    #12
    Member
    Website's:
    vaporhostn.com
    If you really want to get some speed and lightweight in there..

    A setup such as:
    apache (latest) run on other port + php 5.3 + xcache (there is more but this is a start) + nginx latest stable running on port 80 as proxy....

    Then if your server has more then one core set the process workers for nginx to how many cores you have.. do small optimizations to nginx to cache the images and such..

    By the time you know it... you will barely see a load until you really get alot of users..

    Also a known trick is DO NOT ENABLE GZIP that is a very bad cpu hog if there is alot of visitors

    edit: also you do not need to setup the php intepreter for nginx let apache handle php

  4.     
    #13
    Member
    Website's:
    oneddl.eu nfomation.net linksafe.me
    I disagree. Letting apache near any decent webserver setup is a bad idea. PHP-FPM actually handles it better in my opinion. If you have Ubuntu, nginx even maintain their own PPA for php. So you can install php-fpm with one command.

    Also, if you're going to use an opcode cache, my money is on APC (which is developed alongside php). Xcache is lighty's module and having used it, I can honestly say, it sucks.

    As I said above, if you have a small to medium site, having over two worker processes is useless. They will just sit there eating ram, albeit a very small amount.

  5.     
    #14
    Member
    Website's:
    vaporhostn.com
    Well we all have our opinions, But nginx may handle php better in the end apache + nginx is a beast for regular web hosts which is why you never just see a webhost with only nginx...

    Its not made to be a standalone server..

  6.     
    #15
    Member
    Website's:
    oneddl.eu nfomation.net linksafe.me
    Oh, please don't mistake my comments for anger. Like you said, they are just my opinions.

    The reason most webhosts (I assume you mean shared hosting) don't have nginx is that its not built into cpanel.

  7.     
    #16
    Member
    Website's:
    vaporhostn.com
    Nah im not taking it as anger..

    Most as in all web hosts & dedicated+vps users all use a combination of 2.. Not 1..

    cPanel can be run useing only litespeed/nginx/apache/lighttpd...

    Its not hard.. But there is a reason that is a chosen combination.. Its a load balancer.. Nginx is only good for static content

  8.     
    #17
    Member
    From my own personal experience, I would recommened nginx. If you are uncomfortable with it or need a panel for most of your work, I would recommend using apache + cpanel + nginx (nginxcp) for your site.

    Right now, our 8GB Ram and Quad core servers handles upto 10,000 connections with just around 20-25% load

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 11th Dec 2011, 08:40 AM
  2. [Hiring] Premium Server Managment Solutions | We Handle Your VPS/Dedicate Server For Best Perf
    By devilmaycry in forum Completed Transactions
    Replies: 9
    Last Post: 12th Nov 2010, 10:12 AM
  3. Replies: 7
    Last Post: 19th Sep 2009, 02:44 AM
  4. Replies: 3
    Last Post: 5th Mar 2009, 03:58 PM

Tags for this Thread

BE SOCIAL