1.下载安装apache2.修改httpd.conf:(有则打开,没有则添加) AddHandler cgi-script .cgi ScriptInterpreterSource Registry Options FollowSymLinks ExecCGI