I'm upgrading from a 1 gig to a 2 gig VPS. I'm putting APC and DSO/mod_php behind me and starting anew. The only limit is that I need to use PHP 5.5 rather than anything newer.
Right now I'm leaning toward PHP-FPM as the PHP handler. The following graphic, from an excellent slideshow about PHP handlers, explains several of the benefits:
The core features I need are running as file owner and PHP accelerators (opcode caching).
I'd like PHP to run as the file owner because I provide hosting services and cPanel logins to 4-5 independent websites and plan to provide more in the future. I don't want people to be able to reach into other people's files. (explanation).
Regarind opcode caching, I'm leaning toward Zend OpCache because it is built into PHP 5.5, the version I'll be using. I plan to supplement it with Memcached. Everything on our site is PHP and much of it is complex, so PHP acceleration seems like a priority. Alternatively, I could go with xcache since it handles both opcode caching and user caches.
Any suggestions? Will PHP-fpm, Zend OpCache and Memcached all play well together with PHP5.5? Does this seem like a good stack to go with?
I'm also considering mod_ruid2. Does anyone have experience with both?
Many thanks in advance.