httpd不适用于mod_fcgid

基于这里的答案,centos没有mod_fastcgi rpm,但是mod_fcgid可以用于大多数类似的目的。 https://stackoverflow.com/questions/12005137/centos-mod-fastcgi

所以我在centos7上用yum安装mod_fcgid,然后join

LoadModule fastcgi_module modules/mod_fcgid.so 

代替

 LoadModule fastcgi_module modules/mod_fastcgi.so 

进入httpd.conf

和/usr/lib64/httpd/modules/mod_fcgid.so确实存在。

然而,当运行service httpd start ,它说:

 Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details. 

 journalctl -xe Mar 17 17:19:15 open-kvm-app63 kill[31039]: kill: cannot find process "" Mar 17 17:19:15 open-kvm-app63 systemd[1]: httpd.service: control process exited, code=exited status=1 Mar 17 17:19:15 open-kvm-app63 systemd[1]: Failed to start The Apache HTTP Server. 

那么我将这行删除到conf文件中, httpd可以重新启动。 我想知道为什么httpd无法启动该configuration,谢谢。