Archive

Posts Tagged ‘nginx’

Installing Nginx with php-fpm on Ubuntu 10.04 and 11.10

January 9th, 2011 No comments

Nginx with php-fpm is a high performance alternative to the traditional apache PHP combination. In my experience, nginx with php-fpm uses significantly less memory, in some cases only a third of the memory required to run apache and PHP. For this example a fresh install of Ubuntu 10.04 desktop was used. Starting with a fresh install of 10.04, you should be able to follow these steps and finish with a working nginx with php-fpm box.

Update: These instructions were recently confirmed to work with ubuntu 11.10 (AWS ami-a562a9cc) and PHP 5.3.8.

Open a terminal and update your install.


sudo apt-get update
sudo apt-get upgrade

Read more…

Categories: linux, php, nginx Tags: , ,