Re: Alternatives to apache for php based servers: Nginx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 03/11/2011 10:54 AM, robert mena wrote:
> Hi,
> 
> Anyone here using Nginx as alternative to apache in conjunction to php
> scripts?
> 
> Care to share thoughts and caveats?
> 
> I am reading that it is a good alternative but do not know the real life
> limitations, diferences to apache, which repo to fetch etc.

First off let me say that nginx is awesome. If you are running a LAMP
stack and cannot use fastcgi with apache then you can put nginx in front
of apache to handle static content requests. Result is dramatic decrease
in memory footprint since you can reduce the number of concurrent apache
procs. Nginx uses a more efficient request handling so you can serve
thousands of clients in under 100MB. I think you can also use fastcgi
with nginx. I haven't done it.

Apache can achieve similar efficiencies with the alternate mpm models
i.e. not prefork.
-- 
Mark D. Foster <mark@xxxxxxxxx>
http://mark.foster.cc/

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux