Comments on Installing Lighttpd With PHP5 (PHP-FPM) And MySQL Support On Debian Wheezy

Installing Lighttpd With PHP5 (PHP-FPM) And MySQL Support On Debian Wheezy Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on a Debian Wheezy server with PHP5 support (through PHP-FPM) and MySQL support. PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites. I use PHP-FPM in this tutorial instead of Lighttpd's spawn-fcgi.

6 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Anonymous

I think it's good way, to use socket in php-fpm and not port TCP

By: Anonymous

Installed on 512 mb lets see how it goes  document here

By: Queti Nporta

This is not working anymore. After installing php5 error 503 starts and phpmyadmin just screws completely lighttpd.

By: Advait Javadekar

Step 3. of this tutorial is not working for me. Error : Webpage not available. I checked in the /var/www and the file index.lighttpd.html does exist. Using BeagleBone Black Debian Wheezy.

By: Nate

After doing  apt-get install php5-fpm php5

This file does not exist: /etc/php5/fpm/php.ini

I also don't see:  /var/run/php5-fpm.sock

I don't see /etc/php5/fpm/pool.d/www.conf

But I do see /etc/php5/fpm/pool.d/www.conf.dpkg-new

I have no idea how to follow the instructions in the tutorial with all these differences in the results.  There are a few other files with .dpkg-conf appended to the end of them, and missing are the actual ones named in this article, without that suffix.  Is my apt-get broken?  

By: till

Are you sure you are using the Debian version that this tutorial is written for? The tutorial is for Debian Wheezy (7).