Home » Archive

Articles tagged with: fastcgi

Planet Ubuntu, Ubuntu Tutorials »

[29 Apr 2009 | 17 Comments | 15,936 views]

After using Lighttpd for a couple of months, I wasn’t really happy with it, so I have decided to move from Lighttpd to Nginx, which is another open-source lightweight web server. In this tutorial, I am going to go over setting up Nginx, MySQL, and PHP5 on an Ubuntu server.

1. Install Nginx

aptitude install nginx
For some reason Nginx does not start automatically when it is installed, so we need to start Nginx.
/etc/init.d/nginx start
Now we want to make sure that Nginx installed properly. Open your web browser and point it to your …