# portsnap fetch update # cd /usr/ports/www/xcache # make install clean
Enable xache
# cp /usr/local/share/examples/xcache/xcache.ini /usr/local/etc/php/ # cd /usr/local/etc/php/ # vi xcache.ini
Type the following command to restart lighttpd
# /usr/local/etc/rc.d/lighttpd restart