update your port tree by typing following commands:
# portsnap fetch # portsnap extract # portsnap update
首次運行 portsnap 需要執行 portsnap extract 這個步驟,之後不再需要,直接運行 portsnap update 即可
# cd /usr/ports/lang/php5 # make install
reinstall
# make reinstall
# make deinstall
如果用make install clean 安裝,請用 pkg_delete 卸載
# cd /usr/ports/lang/php5 # make config # make install