Compile instructions for lighttpd.

Build instructions for lighttpd. In sequence with compilation instructions here.
./configure \
--with-pspell --with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-mysql-sock=/tmp/mysql.sock \
--enable-magic-quotes --enable-soap \
--enable-calendar --enable-exif \
--with-zlib --with-zlib-dir=/root/_bin/zlib-1.2.3 \
--with-zip --enable-mbstring=all --with-mhash \
--with-mycrypt --enable-wddx --with-gettext \
--enable-ftp \
--with-cgi --enable-fastcgi \
--with-gd \
--with-jpeg --with-jpeg-dir=/root/_bin/jpeg-6b \
--enable-gd-native-ttf --with-dom \
--with-png --with-png-dir=/root/_bin/libpng-1.2.16 \
--with-xpm --with-xpm-dir=/root/_bin/XawXpm \
--with-freetype --with-freetype-dir=/root/_bin/freetype-2.3.4 \
--enable-memory-limit --with-curl \
--enable-discard-path \
--enable-force-redirect

Reference:
http://trac.lighttpd.net/trac/wiki/TutorialLighttpdAndPHP


About this entry