mambohut wrote:
phpsuexec/suexec are installed on the server hosting mambohut.com and I haven’t noticed any related performance issues
As a general rule, running PHP as an Apache module will be faster as the runtime is loaded into memory. However, if you're doing a lot of cgi-based access the phpsuexec may stay loaded in memory anyway, but does use extra resources to run as a cgi module.
The other difference is with webserver permissions. Having PHP as a cgi (phpsuexec) will run under the user's own account. Yes, this means users can more easily manage files as they are 'owned' by them, but it also does carry a risk that websites/personal files are more 'open to exploitation' than under a normal mod_php setup, since the php cgi application has read/write privilages instead of just read-only privileges.
- Vince