CentOS httpd服务启动失败:Cannot load /etc/httpd/modules/mod_ssl.so

service httpd start

Starting httpd: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 11 of /etc/httpd/conf.d/ssl.conf: Cannot load /etc/httpd/modules/mod_ssl.so into server: /etc/httpd/modules/mod_ssl.so: cannot open shared object file: No such file or directory

这是因为centos自带的httpd没有安装模块mod_ssl.so


可以运行命令:yum install mod_ssl

然后再执行mod_ssl.so

你可能感兴趣的:(Linux)