继续通过FreeBSD的Ports方式升级。在升级Apache时会遇到两次中止,第一次是发现有老的perl版本存在,提示:An older version of lang/perl5.8 is already installed (perl-5.8.7_2) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of lang/perl5.8 without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. 我选择了第一种做法,虽然过程有些啰嗦,但更直观些。卸载perl-5.8.7_2安装perl-5.8.8_1之后继续重复安装Apache,遇到了第二次中止,提示老版本的Apache存在,我的做法和处理perl的一样,卸载老版本,安装新版本。(很笨哟)在此之前我把/usr/local/etc目录备份了一下,结果发现好像用不上,新版本的安装并未覆盖或修改httpd.conf。重启Apache (/usr/local/sbin/apachectl restart),再刷新phpinfo,Apache的版本已经更新。
