This article will explain how to install and configure lighthttpd with PHP5 and MySQL. lighthttd is a web server designed to be fast, secure, flexible and standards-complient while being optimized for speed-critical environments.
Its low memory footprint, light CPU load and speed make it the perfect web server for an environment such as a 384MB VPS. lighthttpd supports the FastCGI interface, which we will use to enable PHP5 support. This article assumes you have already updated your system with the latest fixes and DO NOT have a web server, such as Apache, already installed on your VPS. We will be installing all required applications with the apt-get utility in Debian.