Confused about easyapache4 and fpm
Hello,
We have a new server with centos7 and easyapache4, We compiled it with the following packages:
But in "MultiPHP Manager" there isn't a fastcgi option in handlers tab. Why?. Also I have found this documentation Configure PHP-FPM with User Pools for EasyApache 4 - cPanel Knowledge Base - cPanel Documentation and its shows an alert with this... The information in this document only pertains to cPanel & WHM version 56 and earlier.
and the WHM version in my server is 58, so where is the last version? And for last, if I want to use the php-fpm I have to create and configure all users, dirs, domains, spools, etc. describen on the docs by hand? (for 300+ users).
[LIST]
ea-apache24
ea-apache24-config
ea-apache24-config-runtime
ea-apache24-mod_asis
ea-apache24-mod_auth_digest
ea-apache24-mod_authnz_ldap
ea-apache24-mod_authz_owner
ea-apache24-mod_bwlimited
ea-apache24-mod_cache
ea-apache24-mod_cgi
ea-apache24-mod_deflate
ea-apache24-mod_env
ea-apache24-mod_expires
ea-apache24-mod_headers
ea-apache24-mod_ldap
ea-apache24-mod_mpm_prefork
ea-apache24-mod_proxy
ea-apache24-mod_proxy_fcgi
ea-apache24-mod_proxy_http
ea-apache24-mod_security2
ea-apache24-mod_ssl
ea-apache24-mod_suphp
ea-apache24-mod_unique_id
ea-apache24-mod_version
ea-apache24-tools
ea-apr
ea-apr-util
ea-apr-util-ldap
ea-cpanel-tools
ea-documentroot
ea-libmcrypt
ea-php-cli
ea-php56
ea-php56-libc-client
ea-php56-pear
ea-php56-php
ea-php56-php-bcmath
ea-php56-php-calendar
ea-php56-php-cli
ea-php56-php-common
ea-php56-php-curl
ea-php56-php-devel
ea-php56-php-exif
ea-php56-php-fileinfo
ea-php56-php-fpm
ea-php56-php-ftp
ea-php56-php-gd
ea-php56-php-gettext
ea-php56-php-iconv
ea-php56-php-imap
ea-php56-php-intl
ea-php56-php-ioncube
ea-php56-php-mbstring
ea-php56-php-mcrypt
ea-php56-php-mysqlnd
ea-php56-php-pdo
ea-php56-php-pgsql
ea-php56-php-posix
ea-php56-php-pspell
ea-php56-php-soap
ea-php56-php-sockets
ea-php56-php-xml
ea-php56-php-xmlrpc
ea-php56-php-zendguard
ea-php56-php-zip
ea-php56-runtime
ea-profiles-cpanel
But in "MultiPHP Manager" there isn't a fastcgi option in handlers tab. Why?. Also I have found this documentation Configure PHP-FPM with User Pools for EasyApache 4 - cPanel Knowledge Base - cPanel Documentation and its shows an alert with this... The information in this document only pertains to cPanel & WHM version 56 and earlier.
and the WHM version in my server is 58, so where is the last version? And for last, if I want to use the php-fpm I have to create and configure all users, dirs, domains, spools, etc. describen on the docs by hand? (for 300+ users).
-
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 -
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 -
me to little bit confuse with ProxyPassMatch "^/(.*\.php(/.*)?)$" "unix:/home//run/php70-fpm.sock|fcgi://localhost/home//public_html/
andSetHandler "proxy:unix:/home//run/php70-fpm.sock|fcgi://localhost"
witch one is the correct way? most common tutorial i look at google, they often usefcgi://localhost
but cPanel giving different way. perhaps cPanel can give explanation to use :)0 -
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.
Comments
4 comments