Skip to main content
  1. Posts/

Installing Lighttpd + PHP + FastCGI on FreeBSD

··44 words·1 min·

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.