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?

有帮助吗?

解决方案

  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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top