+ -
当前位置:首页 → 问答吧 → 新建lamp 环境,运行/usr/local/apache2/bin/apachectl restart出错

新建lamp 环境,运行/usr/local/apache2/bin/apachectl restart出错

时间:2011-07-29

来源:互联网

运行/usr/local/apache2/bin/apachectl restart 出现:
httpd: Syntax error on line 57 of /etc/httpd/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: libltdl.so.3: cannot open shared object file: No such file or directory
我用了下chcon -t texrel_shlib_t /usr/local/apache2/modules/libphp5.so
/etc/sysconf/selinux 为 enforcing
可还是不行,请问下应该怎么修改

作者: phua   发布时间: 2011-07-29

usr/local/apache2/modules/libphp5.so    应该是配置时出错了。其次,刚开始学习你应该关闭selinux!

作者: 错流风   发布时间: 2011-07-29

热门下载

更多