DSO, suPHP, FCGI, CGI

  • DSO — Provides PHP through libphp4.so or libphp5.so (aka, mod_php). This option is usually the fastest way to execute PHP requests; however, this option uses the system user called “nobody” to serve all PHP requests. It is also important to note that if you wish to use both versions of PHP via DSO, you must apply the concurrent DSO patch at build time.
  • suPHP — Provides PHP through mod_suphp. Using this option is probably the most flexible way of serving PHP requests and is generally very secure. Under this option, PHP scripts will be executed by the user who owns the VirtualHost serving the request.
  • FCGI — This option serves PHP through mod_fcgid. This is a fast way of serving PHP requests but will most likely require that you tweak php.conf. You can enable suEXEC to execute PHP scripts under the user who owns the VirtualHost that is serving the request or, if suEXEC is disabled, PHP will be served by the system user “nobody.”
    • Important: This method is only recommended for advanced administrators who understand how to tune the performance of mod_fcgid. UserDir requests will not function correctly with the basic mod_fcgid setup.
  • CGI — This option provides PHP through mod_cgi or mod_cgid. Using this option, you can enable suEXEC so that PHP scripts will be executed as the user who owns the VirtualHost that is serving the request. If suEXEC is disabled, the system user “nobody” will execute PHP scripts. UserDir requests will not function properly with the setup provided by cPanel.
    • This option is only intended as a fallback for when DSO or suPHP is not available. Serving PHP as CGI is not especially fast or secure, even if suEXEC is enabled.