Question

I'm trying to figure out what would be the most performing configuration to host a PHP website on Amazon EC2.

Which webserver? (Apache, Lighttpd, nginx)? Which PHP module? mod_php, FastCgi? Which OpCache? (xcache, APC, eAccelerator, Varnish)

What would you recommended setup would look like?

Était-ce utile?

La solution

  1. It depends on your application running on the server. Needs much more memory or cpu or both?

  2. Nginx + PHP-FPM + Varnish-Cache is a good solution if you can use them effectively.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top