Hello,There are several sites on configuring apache with php-fpm. Many don’t work, some appear to be contradictory.Thus far, I found two configurations that work, but I am not sure which one is more correct. By “more correct” I meanless convolutedless hidden issuesless security problemsbetter performing…This is on a ubuntu 16.04 LTS server, running apache 2.4.18, mpm-event, with php7.0-fpm installed. I do NOT have mod_php installed. For my test, I am just running the phpinfo() function call.Here are the configuration methods I have found to work:------------------------------------------------------------ ---------------- 1) using mod_alias, mod_fastcgi, and mod_actions:<Directory /usr/lib/cgi-bin>Require all granted</Directory><IfModule mod_fastcgi.c>AddHandler php7-fcgi .phpAction php7-fcgi /php7-fcgi virtualAlias /php7-fcgi /usr/lib/cgi-bin/php7-fcgiFastCgiExternalServer /usr/lib/cgi-bin/php7-fcgi -host 127.0.0.1:9000 -pass-header Authorization</IfModule>This was found at https://www.howtoforge.com/tutorial/apache-with-php-fpm- dated last August.on-ubuntu-16-04/ it seems hacky: it needs a cgi-bin directory to be configured, but doesn’t actually put anything in a cgi-bin directory to execute...------------------------------------------------------------ ---------------- 2) using mod_proxy, and mod_proxy_fcgiProxyPassMatch ^/(.*\.php(/.*)?)$ "fcgi://localhost:9000/var/www/html/$1 " enablereuse=onThis was found at https://wiki.apache.org/httpd/PHP-FPM dated last July.it seems more elegant, but I don’t know how speedy it might be.