Updated: 06/24/2007

How to Configure and Make PHP on FreeBSD

These notes describe how to compile a custom-built version of PHP 5 from the source, and replace the stock build on a FreeBSD server from Verio VPS. We install useful extensions that can not be loaded as extensions and must be compiled in, specifically tidy and zip. This Apache 2 shared module and CLI versions of PHP are built, but not the CGI version.