Report this

What is the reason for this report?

Is a php5-fpm.conf file necessary for running PHP-FPM on Apache?

Posted on September 10, 2016

I am confused whether creating a php5-fpm.conf file at /etc/apache2/conf-available/php5-fpm.conf is really required to run php-fpm with Apache on Ubuntu 14.04

This answer on D.O and this article on Vultr.com say this is required.

However, this article for Debian 8 and this article for Debian 7 on Linode both instruct to add the <IfModule mod_fastcgi.c> code only to /etc/apache2/mods-enabled/fastcgi.conf

Can someone here running Apache on Ubuntu 14.04 clarify which of these methods is correct? I doubt Linode would have those tutorials running on their site if the instructions are incorrect.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.