I’ve had some recent performance trouble with my LAMP servers. After some digging I found this answer:
This worked perfectly, improving performance considerably on my older LAMP servers built in January 2015 and earlier. But an error when attempting to install the required packages on more recent LAMP droplet ( Built March 10 2015, Apache 2.4.7 ).
I ran:
sudo apt-get install libapache2-mod-fastcgi php5-fpm apache2-mpm-event
and got :
Package libapache2-mod-fastcgi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'libapache2-mod-fastcgi' has no installation candidate
It would be great to get apache event mpm working on my newer droplets. Any help would be appreciated.
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!
This comment has been deleted
[:crit] [pid 13230:tid 139997275240320] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
How do I recompile PHP to be threadsafe?
The libapache2-mod-fastcgi package is in the Ubuntu multiverse repository. You will need to update your sources.list to ensure that the multiverse repository is enabled and then do an apt-get update before attempting the install. More information is available here.
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.