Installing Lighttpd, PHP and MySQL on Ubuntu
If you are not getting a package on Ubuntu, please check to see if your /etc/apt/sources.list file is updated. This is common with most VPS providers On VPS, especially with challenging small memory limit (e.g. 64MB or 128MB) lighttpd is the best option instead of Apache. In this article I will show you how to do that. On a fresh box (which has no apache installed) type this to get lighttpd webserver installed Now install PHP5 CGI package and PHP5 command line package Edit the following file and uncomment this line Now enable fastcgi module Restart Lighttpd You get the welcome page Lets install MySQL 5.1 server and client and optionally phpMyAdmin Now create a test page to see if phpinfo is all Ok Type in the following