By cloudnine
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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
The file name makes no difference. In the Linode guides you are first copying an example file and then modifying it. Apache does not care which file contains these settings but the block with <IfModule mod_fastcgi.c> should only be needed once across all your active configuration files. In other words, either method is correct as long as you don’t do both at once.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.