现在的位置: 首页 > 综合 > 正文

安装php 5.3.3启动httpd碰到的一个问题

2019年11月23日 ⁄ 综合 ⁄ 共 297字 ⁄ 字号 评论关闭

./apachectl start
httpd: Syntax error on line 54 of /home/liansm/tool/apache2/conf/httpd.conf: Cannot load /home/liansm/tool/apache2/modules/libphp5.so into server: /home/liansm/tool/apache2/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied

 

解决方法

chcon -t textrel_shlib_t libphp5.so

 

selinux引起的问题

 

【上篇】
【下篇】

抱歉!评论已关闭.