Pergunta

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?

Foi útil?

Solução

  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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top