Installing Lighttpd + PHP + FastCGI on FreeBSD

With portinstall:

# portinstall lighttpd fcgi php5

Without portinstall:

# make -C /usr/ports/www/lighttpd all install clean
# make -C /usr/ports/www/fcgi all install clean
# make -C /usr/ports/lang/php5 all install clean

Add lighttpd_enable="YES" to /etc/rc.conf, and uncomment the usual items in /usr/local/etc/lighttpd.conf to enable fastcgi.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Printed from: http://rackerhacker.com/2007/07/18/installing-lighttpd-php-fastcgi-on-freebsd/ .
© Major Hayden 2010.

Leave a Reply