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

https://gist.github.com/serverok/3d2e43bb951ded9a42ce8bc0c2c3b627

Add a Comment

Your email address will not be published. Required fields are marked *