I’m close to finishing a site and need to decide what web server to use.
The site uses PHP very heavily – every page has a lot of PHP on it.
I’ve read that Nginx is faster for static pages but there are questions about its performance with PHP compared to Apache’s performance with PHP.
Does anyone have any comments on which web server I should work with.
thx
You could mix them both. Use Apache for serving PHP and use nginx for static pages / images.
Apache is more friendly configuration wise (htaccess, htpasswd, rewrite rules, etc), nginx is fast in regard to static assets.