Skip to content

Instantly share code, notes, and snippets.

@gabrielstuff
Created August 26, 2012 21:03
Show Gist options
  • Select an option

  • Save gabrielstuff/3483578 to your computer and use it in GitHub Desktop.

Select an option

Save gabrielstuff/3483578 to your computer and use it in GitHub Desktop.
How to install php5-fpm

#Install php5-fpm on Debian Squeeze

Add the repo to you .list

vi /etc/apt/sources.list

and add :

deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all

Update and sign

apt-get update
wget http://www.dotdeb.org/dotdeb.gpg
cat dotdeb.gpg | sudo apt-key add -

Install

apt-get install php5-cli php5-suhosin php5-fpm php5-cgi php5-mysql

Run

/etc/init.d/php5-fpm start

Check

netstat -plunt|grep php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment