VPS侦探论坛

 找回密码
 注册
查看: 3513|回复: 1

重启lnmp1.2后报错

[复制链接]
发表于 2016-1-16 08:15:26 | 显示全部楼层 |阅读模式

军哥,求救!重启lnmp1.2后报错,然后打开页面就是502了,请问下应该如何解决?谢谢啦!

+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              http://lnmp.org              |
+-------------------------------------------+
Starting LNMP...
Starting nginx...  done
Starting MySQL..[  OK  ]
Starting php-fpm Failed loading /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/opcache.so:  /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: cannot restore segment prot after reloc: Permission denied
done
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-1-16 09:00:02 | 显示全部楼层


应该是selinux的问题,这个在安装时时关闭了的
你可以执行:sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-28 19:26 , Processed in 0.026162 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表