/usr/sbin/httpd -v
CustomBuild - 当前
如果您正在使用custombuild(因为大多数新盒子都是),请运行以下命令
cd /usr/local/directadmin/custombuild
./build update
./build apache
./build php n
./build rewrite_confs
CustomApache
如果您最近使用的是带有1.3版apache的customapache,请运行以下命令:
cd /usr/local/directadmin/customapache
./build clean
./build update
./build apache_mod_ssl
如果您使用的是Apache 2.x,请使用“./build apache_2”而不是apache_mod_ssl。
这应该将配置选项和apache的版本更新为最新版本。 更新完成后,您需要重新启动apache:
RedHat:
/sbin/service httpd restart
FreeBSD:
/usr/local/etc/rc.d/httpd restart











