How to install WordPress on FreeBSD

This article was written for WordPress 3.3.2 and FreeBSD 8.2.

Pre-Requisites

 * Basic FreeBSD server with configured PHP web application stack. See How to build a FreeBSD server, the following references may also be useful:
 * The FreeBSD Handbook by the FreeBSD Project ("The Handbook"),
 * Bulding a Server with FreeBSD 7 by Bryan Hong ("Hong"),
 * Absolute FreeBSD by Michael Lucas ("Lucas"),

Install Procedure
===> No options to configure ... Before the first use of WordPress, copy wp-config-sample.php to wp-config.php in ${WWWDIR} and modify it to fit your MySQL. Maybe you need 'mysqladmin create wordpress' first. If you are upgrading from 1.x or 2.x to 3.x, please run http://your.site/wordpress/wp-admin/upgrade.php to upgrade to WordPress 3.x ===>  Registering installation for wordpress-3.2.1,1 ===> Cleaning for wordpress-3.2.1,1 # Change the wordpress directory owner and group to www to allow updating from within WordPress
 * 1)  cd /usr/ports/www/wordpress
 * 2) make config
 * 1) make install clean


 * 1) cd /usr/ports/www
 * 2) chown -R www:www wordpress