cd /usr/local/directadmin/custombuild
mkdir -p custom/ap2
cp configure/ap2/configure.apache custom/ap2/configure.apache
vi custom/ap2/configure.apache
./build clean
./build apache
/sbin/service httpd restart
FreeBSD:
/usr/local/etc/rc.d/httpd restart
Debian:
/etc/init.d/httpd restart
如果遇到问题,您可能还需要重新编译php:
./build php
然后重新启动apache。







