Skip to main content

Confused about easyapache4 and fpm

Comments

4 comments

  • cPanelMichael
    Hello, While it's still possible to follow those instructions, it's highly discouraged because the changes you must make are not compatible with the actual FPM support in cPanel version 60. You can follow the progress for official FPM support at: Enhance FPM support An additional feature request is open for mod_fcgid at: EasyApache 4 mod_fcgid Thank you.
    0
  • kdean
    While it's still possible to follow those instructions, it's highly discouraged because the changes you must make are not compatible with the actual FPM support in cPanel version 60.

    So, if one has been running FPM over the last few versions using the previous method, will that completely break when updating to 60? ...or will it continue to work but just require some manual removals of the user.conf and userdata fpm.conf files before activating the newer method on a user by user basis? Also, the current instructions use the following in the fpm.conf files:
    ProxyPassMatch "^/(.*\.php(/.*)?)$" "unix:/home//run/php70-fpm.sock|fcgi://localhost/home//public_html/ DirectoryIndex index.php
    but I used the following that was recommended offsite for the latter Apache 2.4 versions:
    SetHandler "proxy:unix:/home//run/php70-fpm.sock|fcgi://localhost"
    ... and it did prove to work a lot better and more compatible. Do you know what method will be used in 60? ...because the ProxyPassMatch method is pretty useless for me since it breaks sites such as wordpress multi-site installs, messes with directory indexes disallowing previously working methods. The SetHandler method doesn't have those problems.
    0
  • hrace009
    me to little bit confuse with
    ProxyPassMatch "^/(.*\.php(/.*)?)$" "unix:/home//run/php70-fpm.sock|fcgi://localhost/home//public_html/
    and
    SetHandler "proxy:unix:/home//run/php70-fpm.sock|fcgi://localhost"
    witch one is the correct way? most common tutorial i look at google, they often use
    fcgi://localhost
    but cPanel giving different way. perhaps cPanel can give explanation to use :)
    0
  • cPanelMichael
    Hello, For anyone viewing this thread for the first time, continued discussion of this topic is available under the comments section at: Enhance FPM support Please open a new thread to report additional issues. Thank you.
    0

Please sign in to leave a comment.