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 is php-fpm config using proxy_fcgi