Question

How can I install apache and php5-fpm?

  • Posted June 26, 2013

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

Subscribe
Share

Submit an 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.

Glad you got it working.

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>

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