Results 11 to 17 of 17
-
12th Feb 2012, 10:43 PM #11MemberWebsite's:
oneddl.eu nfomation.net linksafe.meMy 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; }
-
12th Feb 2012, 10:51 PM #12MemberWebsite's:
vaporhostn.comIf 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
-
12th Feb 2012, 11:26 PM #13MemberWebsite's:
oneddl.eu nfomation.net linksafe.meI 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.
-
12th Feb 2012, 11:31 PM #14MemberWebsite's:
vaporhostn.com
-
12th Feb 2012, 11:34 PM #15MemberWebsite's:
oneddl.eu nfomation.net linksafe.meOh, 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.
-
12th Feb 2012, 11:37 PM #16MemberWebsite's:
vaporhostn.comNah 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
-
13th Feb 2012, 04:35 PM #17Member
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
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
share OVH server with i7, 24gb ram, 2tb hard drive / windows server / 1 gigabit link
By tonhaum in forum Hosting DiscussionReplies: 6Last Post: 11th Dec 2011, 08:40 AM -
[Hiring] Premium Server Managment Solutions | We Handle Your VPS/Dedicate Server For Best Perf
By devilmaycry in forum Completed TransactionsReplies: 9Last Post: 12th Nov 2010, 10:12 AM -
[Shared] Now Moster Server 8core 16GB DDR2 RAM Ultra fast server with litespeed webserver
By kiss of death in forum ArchiveReplies: 7Last Post: 19th Sep 2009, 02:44 AM -
[Dedicated] Semi-dedicated server space on my personal server - Mature clients only
By Zing in forum ArchiveReplies: 3Last Post: 5th Mar 2009, 03:58 PM
themaCreator - create posts from...
Version 3.48 released. Open older version (or...