quick start lighttpd with php in ubuntu

quick start lighttpd with php in ubuntu(summary):
1. apt-get install lighttpd
2. apt-get install php5
3. apt-get install php5-cgi
4. apt-get install ligfcgi-dev
5. lighty-enable-mod fastcgi
6. /etc/init.d/lighttpd restart

ok create a php file in /var/www  and open in you browser to test it.