Fedora 11 Apache启动失败解决方法

服务器环境:Fedora 11

启动Apache错误如下:

[root@localhost hehui]# service httpd start

正在启动 httpd:httpd: Syntax error on line 196 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_file_cache.so into server: /etc/httpd/modules/mod_file_cache.so: cannot open shared object file: No such file or directory

[失败]

解决方法

1.在配置文件中注释掉,如下:

195 LoadModule disk_cache_module modules/mod_disk_cache.so

196 #LoadModule file_cache_module modules/mod_file_cache.so

197 #LoadModule mem_cache_module modules/mod_mem_cache.so

2.去寻找mod_file_cache.so和mod_mem_cache.so放到modules文件夹下去

相关推荐