如果在DirectAdmin安装时忘记了在启用curl,那可以使用以下命令进行安装编译:
grep curl /usr/local/directadmin/custombuild/options.conf | awk -F '=' '{ if($2=="no") { system("sed -i -e 's/curl=no/curl=yes/g' /usr/local/directadmin/custombuild/options.conf");system("/usr/local/directadmin/custombuild/build curl") }}'