Hello,
We have a problem with fpm setup.
Server details
/etc/redhat-release: CentOS release 6.9 (Final)
/usr/local/cpanel/version: 11.68.0.14
/var/cpanel/envtype: standard
All packages installed
Problem: FPM works for user John and doesn'r work for user Bob.
PHP-FPM is turned on like this: Software - MultiPHP Manager - user select - PHP-FPM - On
User John is able to use CGI and PHP-FPM. "Server API" in phpinfo is "FPM/FastCGI".
User Bob is able to use only CGI. Even if PHP-FPM is enabled. "Server API" in phpinfo is "CGI/FastCGI".
I've found only one entry "proxy_fcgi_module" in /etc/apache2/conf/httpd.conf for user John.
There is no PHP-FPM/SetHandler for user Bob. Just for user John.
When I switch to PHP-FPM in MultiPHP Manager Apache configuration file do not update.
What could cause this behavior?
Thank you.
We have a problem with fpm setup.
Server details
/etc/redhat-release: CentOS release 6.9 (Final)
/usr/local/cpanel/version: 11.68.0.14
/var/cpanel/envtype: standard
All packages installed
Code:
yum list installed | grep fpm
ea-php56-php-fpm.x86_64 5.6.32-1.1.4.cpanel @EA4
ea-php70-php-fpm.x86_64 7.0.25-1.1.3.cpanel @EA4
ea-php71-php-fpm.x86_64 7.1.11-1.1.3.cpanel @EA4
Code:
yum list installed | grep cgi
ea-apache24-mod_cgi.x86_64 2.4.29-1.1.2.cpanel @EA4
ea-apache24-mod_proxy_fcgi.x86_64 2.4.29-1.1.2.cpanel @EA4
Code:
apachectl -M | grep proxy
proxy_module (shared)
proxy_fcgi_module (shared)
proxy_http_module (shared)
PHP-FPM is turned on like this: Software - MultiPHP Manager - user select - PHP-FPM - On
User John is able to use CGI and PHP-FPM. "Server API" in phpinfo is "FPM/FastCGI".
User Bob is able to use only CGI. Even if PHP-FPM is enabled. "Server API" in phpinfo is "CGI/FastCGI".
I've found only one entry "proxy_fcgi_module" in /etc/apache2/conf/httpd.conf for user John.
Code:
<IfModule proxy_fcgi_module>
<FilesMatch \.(phtml|php[0-9]*)$>
SetHandler proxy:unix:/opt/cpanel/ea-php70/root/usr/var/run/php-fpm/ed2ffbb8394c52fc41e77d7bda3f9fe35db9042f.sock|$
</FilesMatch>
</IfModule>
When I switch to PHP-FPM in MultiPHP Manager Apache configuration file do not update.
What could cause this behavior?
Thank you.