Install PHP-FPM 5.3.2 on Ubuntu 10.04 (Lucid Lynx)
Posted: May 31, 2010 | By: TJ | In Technology | No comments yet
A few weeks ago, we went through installing PHP-FPM on Ubuntu 9.10 (Karmic Koala). Now that (mt) Media Temple began offering Ubuntu 10.04 (Lucid Lynx) on their (ve) servers, I figured it was time to see if the installation process for Lucid was the same. It isn’t but fortunately, it’s even easier.
If you’re working on a new (ve) server, we’ll only need 1 dependency met before we get started.
$ aptitude install python-software-properties
This package provides an abstraction of the used apt repositories. It allows you to easily manage your distribution and independent software vendor software sources. Since we’re going to be using a Launchpad PPA, we’ll need this tool to make adding packages easier. Personal Package Archives (PPA) allow you to upload Ubuntu source packages to be built and published as an apt repository by Launchpad. The one we’ll be using was brought to us by Brian Mercer.
$ add-apt-repository ppa:brianmercer/php
You should see some gpg output. This is normal. Now that we’ve added the new apt repository, we need to update our sources list:
$ aptitude -y update
Now, install the preferred PHP packages. These are simply examples that I frequently use. The one you’ll need for this is example is php5-fpm:
$ aptitude -y install php5-cli php5-common php5-mysql php5-suhosin php5-gd
$ aptitude -y install php5-fpm php5-cgi php-pear php5-memcache php-apc
$ service php5-fpm start
Once you’ve started the PHP daemon, make sure the service is listening on port 9000:
$ netstat -plan | grep :9000








[...] stable patch method works well however it still requires you to compile PHP manually. This is considered the [...]