VPS侦探论坛

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

重启LNMPA报错

[复制链接]
发表于 2014-5-28 14:00:43 | 显示全部楼层 |阅读模式

安装了LNMPA后打开页面报502错误,于是在论坛中找到有同学说升级php后就正常了,然后就升级php到5.4.28结果就成这样了
httpd: Syntax error on line 343 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: cannot open shared object file: No such file or directory
Starting LNMPA...
Starting nginx daemon: nginxnginx: [emerg] open() "/home/wwwlogs/nginx_error.log" failed (2: No such file or directory)
nginx already running.
Starting MySQL...... SUCCESS!
httpd: Syntax error on line 343 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: cannot open shared object file: No such file or directory
怎么弄,求救
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2014-5-28 16:18:38 | 显示全部楼层


1.0下lnmpa不能升级至5.4.*,只能5.3.*
重新运行安装脚本升级至5.3.*

nginx 提示的文件被删除,再touch 一个
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-30 15:39 , Processed in 0.027657 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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