By ivangdokov
I’ve spent so many hours trying to make the following setup: Apache v2.4 php-fpm to work, but without any success. I am using fully updated Ubuntu Server 14.04 TLS.
Most of the tutorials online are for nginx with php-fpm or Apache 2.2, but I know things have changed.
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!
You may also need to switch from the apache MPM non-threaded module mpm_prefork to a threaded one.
a2dismod mpm_prefork
then
a2enmod mpm_worker
or
a2enmod mpm_event
If it’s not installed:
apt-get install apache2-mpm-worker
or
apt-get install apache2-mpm-event
@richard-mckenna was right! Must first disable mod_php before use these settings… damn, it took me hours until find this comment to save me from lost more time.
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.