New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Best cPanel PHP Setup
I am running cPanel on a solid and fairly high-performance VPS. I have 2gb of Ram along with 512 mb of vSwap along with 4 strong cores.
I am running apache + nginx via http://nginxcp.com/. I am also running eAccelerator. (good/bad)?
I am looking for the best php setup for the VPS. Ruid2? FastCGI? suPHP? DSO? CGI? SuEXEC on or off?
I know many providers offer some shared or reseller hosting so I'm looking for feedback based on cPanel experience.
Thanks :-)
Comments
I think you can get away using some of the profile selections in WHM-here is a good example that I use a lot.
I prefer XCache rather than EC. suPHP with SUEXEC enabled.
XCache (or any other PHP opcode) doesn't work with suPHP.
Did you even read the first post?
If you host many low traffic sites go for suphp, else fcgi.
As @George_Fusioned already mentioned PHP-accelerators don't work with suphp
For the above reason, i use php as DSO with RUID2 enabled. My sites run with a mix of APC, Memcache and nginx for caching
LOL
So what's the consensus?
Thanks man! :-) lol
Low to Medium Traffic. No site gets more than 5,000 views a day. I have read that with mod_RUID2 there's no real advantage of running fcgi.
I am also using DSO with Mod_RUID2 enabled and also am running nGinx proxy. However, I am curious to know how much traffic is needed for something like APC, Memchace or eAccelerator to noticeably increase speeds and decrease load.
cPanel says that in order to enable mod_ruid2 Memcache must be disabled?