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

Re: nginx or apache for php?



On Thu, Aug 1, 2024 at 10:40 AM Walt E <walt@ik.me> wrote:
>
> I have been using apache2 + php for years under debian.
> But I heard people says nginx + php has better performance.
> Do you have experience on both of setup and share a bit with me?

Related, Nginx is generally considered more secure than Apache. Nginx
has approximately 220 CVEs, while Apache and friends has roughly 2700
CVEs. Confer, <https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=apache>
and <https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=nginx>.

I think it was Jon Bentley who said, if it does not have to be
correct, then I can make it as fast as you want it to be. Quickly
arriving at an incorrect result is not a good outcome.

Jeff


Reply to: