1. Compile Lighttpd ./configure --prefix=/usr/local/lighttpd 2. Compile PHP ./configure --enable-fastcgi --enable-discard-path --enable-force-redirect --with-mysql \ --with-mysql-sock=/tmp/mysql.sock --with-gd --with-png --with-zlib --enable-inline-optimization \ --disable-debug --with-gettext --with-gdbm --with-pear=/usr/lib/php --with-config-file-path=/etc \ --enable-gd-native-ttf