Report this

What is the reason for this report?

How can I install apache and php5-fpm?

Posted on June 26, 2013

Hi. How can I install a LAMP stack, Apache, MySQL, and php, with php5-fpm on ubuntu?



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

http://www.failover.co/blog/quick-setup-apache-worker-fastcgi-php-fpm-and-apc <br> <br>You need to enable Multiverse repository first. Copy paste the whole text in your terminal as root. <br> <br>echo -e “deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs) main restricted multiverse\ndeb-src http://archive.ubuntu.com/ubuntu $(lsb_release -cs) main restricted multiverse” | sudo tee -a /etc/apt/sources.list > /dev/null

Thx, this works for me, with a little modifications in the vhost config. <br> <br> AddHandler php5-fcgi .php <br> Action php5-fcgi /php5-fcgi <br> Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi <br> FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:11000 -pass-header Authorization <br>

Glad you got it working.

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.