Skip to main content

Php-fpm & cgi vs suPHP

Comments

3 comments

  • kodeslogic
    CGI and SuPHP -- are almost the same with SuPHP having additional security. php-fpm support opcode cache and is blazing fast. You may also find the following document helpful for general information about each PHP handler: [QUOTE]
    0
  • CraftyPanda
    CGI and SuPHP -- are almost the same with SuPHP having additional security. php-fpm support opcode cache and is blazing fast. You may also find the following document helpful for general information about each PHP handler:

    Hi and thanks for the reply. So if php-fpm is enabled on an account, does that supercede the PHP handler choice? That is to say, if php-fpm is enabled, is that the PHP handler only and the secondary choice, CGI/suphp becomes an irrelevant option? Thank you
    0
  • gnusys
    yes..when php-fpm is enabled it supersedes the other handlers You can also set the default handler as lsapi after installing the module as below yum -y install ea-apache24-mod_lsapi ea-apache24-mod_suexec php-fpm/lsapi is the recommended handlers for best performance
    0

Please sign in to leave a comment.