LIGHTTPD Apache Apache or Lighttpd?
LIGHTTPD (also known as lighty), the HTTP daemon for high performance requirements, with fast and low memory footprint as the design goal. The following chart shows the comparison of Apache's performance against LIGHTTPD.
Conclusion
Through the above tests, what is the best configuration environment performance, what kind of configuration environment performance is the worst? What is the fastest configuration when considering security factors? We have concluded that the slowest configuration is PHP5 with a Apache2 module mode without APC. Unfortunately, this is the most common configuration. In a more secure fastcgi mode, the fastest configuration is lighttpd plus PHP4 run in fastcgi mode with APC support. For anonymous users, the latter is almost 4 times times faster than the former, and more secure. It can be seen from the chart below.