/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
/sbin/service httpd restart
FreeBSD:
/usr/local/etc/rc.d/httpd restart