/usr/sbin/httpd -v
CustomBuild - 當(dāng)前
如果您使用的是custombuild(因?yàn)榇蠖鄶?shù)新盒子都是),請(qǐng)運(yùn)行以下命令
cd /usr/local/directadmin/custombuild
./build update
./build apache
./build php n
./build rewrite_confs
CustomApache - 報(bào)廢
如果您最近使用的是帶有1.3版apache的customapache,請(qǐng)運(yùn)行以下命令:
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