Installing Nginx with PHP5 on Ubuntu 10

Installing Nginx with PHP5 on Ubuntu 10

Guide
There are a number of guide across the internet that break down how to install this setup. I had to use a couple different ones just to get it to work. Here's how I did it. Note: you should run this from the terminal - and as root (sudo -s) Step 1 - Install Ubuntu I installed it on a VM but it really doesn't matter. For the sake of this guide I downloaded Ubuntu 10.04.1 LTS version. Step 2 Install PHP FastCGI From the terminal sudo apt-get install php5-cgi Step 3 Install Nginx - latest stable The build in repo for Ubuntu is running version 7 - as of right now the latest stable is 8.54 so we need to update the repo and get the latest version. add-apt-repository ppa:nginx/stable…
Read More