さくっと構築するため、なるべく ports は使わない。 ・Apache と MySQL のインストール # pkg_add -r apache22 # pkg_add -r mysql55-server # pkg_add -r mysql55-client・PHP5 のインストール pkg_add では mod_php5 が入らないので、port から make する。 # cd /usr/ports/lang/php5 # make config ※Apacheモジュールの作成とマルチバイト対応にチェックを入れること # make # make install # make clean・PHPモジュールのインストール # pkg_add -r php5-mysql # pkg_add -r php5-mysqli # pkg_add -r php5-pdo_mysql・Apache