Ask YC: nginx or apache for PHP?
1 comments
I currently use Nginx + FCGI for my minimal PHP needs. I have also used Apache, and the only real differences I've noticed is how its setup. Lots of people use Nginx because it feels alot more lightweight for whatever reason than apache, plus many stats show it can handle more connections with less memory. For my setup, I am using lighthttpd's fcgi starter script, since it automates the process initialization.
Based on your experience would you go with nginx (+fastcgi) or apache to run a high traffic website that is written using PHP?
It would also benefit the community if someone could post information about any HOWTO/tutorial resources describing the best ways to configure apache/nginx/php for production web servers.