CentOS 7 Apache use PHP-FPM

CentOS 7 Apache use PHP-FPM

Install PHP-FPM with command Edit www.conf Find Replace with Find Replace with Edit php.conf Add Restart Apache/php-fpm Method 2 Here

Enable Error Logging in php-fpm

Enable Error Logging in php-fpm

Edit your pool file Add if you only enable “log_errors”, then errors go to default nginx error log. php-fpm

php-fpm

php-fpm

Restart php-fpm in Cpanel Server Enable Error Logging in php-fpm CentOS 7 Apache use PHP-FPM

Install PHP 7.1 php-fpm from source

Install PHP 7.1 php-fpm from source

Lets install the requirements. On CentOS, run Before you can install, you need to check MySQL socket location. To do