Daily Archives: 28.05.2013


Installing Nginx with PHP5-FPM on Debian

Install PHP5-FPM as described here. Install Nginx: apt-get install nginx Check for the correct path to the socket used by php5-fpm in /etc/php5/fpm/pool.d/www.conf (to be used in the nginx configuration): listen = /var/run/php5-fpm.sock Create a virtual host in /etc/nginx/sites-available/: server {         listen   80;          root /var/www;       […]


Installing php5-fpm on Debian

First of all, we get the server key: cd /tmp wget http://www.dotdeb.org/dotdeb.gpg cat dotdeb.gpg | apt-key add – Then we update the sources.list file so apt will find the packages: echo "deb http://packages.dotdeb.org squeeze all" >> /etc/apt/sources.list echo "deb-src http://packages.dotdeb.org squeeze all" >> /etc/apt/sources.list Or for Debian Wheezy: echo "deb http://packages.dotdeb.org wheezy all" >> /etc/apt/sources.list echo […]