-Apacheのインストール
-PHPのインストール
-- php4をインストールする。 -- # portinstall lang/php4 -- # portinstall lang/php4-extensions
-apache 起動設定 --/etc/rc.conf に次の2行を追加する。 --# vi /etc/rc.conf --apache2_enable="YES" # Run httpd, the WWW server (or NO). --#apache2ssl_enable="YES" # Run httpd with SSL, the WWW server (or NO). --次のコマンドで、apacheが起動する。 --# /usr/local/etc/rc.d/apache2.sh start なお、もともとのrc.conf のバックアップとしてrc.conf.oldを同じフォルダ内に作成