cgi 脚本编写是要在开头加 #!bin/sh,要不然无法被execl() 函数执行,返回ENOEXEC错误,详情见: http://blog.youkuaiyun.com/dog250/article/details/5719609