VPS侦探论坛

 找回密码
 注册
查看: 3639|回复: 2

lnmp1.4 安装失败

[复制链接]
发表于 2016-12-8 16:05:37 | 显示全部楼层 |阅读模式

本地虚拟机 ubuntu server 16.04.1   PHP7.1 + Apache2.4.23 + Nginx(没装数据库) 安装失败。


Add Startup and Starting LNMPA...
Add nginx service at system startup...
Starting nginx...  done
Add httpd service at system startup...
start apache... httpd: Syntax error on line 442 of /usr/local/apache/conf/httpd.conf: Cannot load modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: cannot open shared object file: No such file or directory
failed
============================== Check install ==============================
Checking ...
Nginx: OK
Do not install MySQL/MariaDB.
PHP: OK
Error: Apache install failed.
Sorry, Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-12-8 18:46:06 | 显示全部楼层


其实是成功了,php7.1下的bug
你自己执行一下: sed -i '/^LoadModule php5_module/d' /usr/local/apache/conf/httpd.conf 就行了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-12-9 10:03:24 | 显示全部楼层

回复 2# 的帖子


是的,执行一下这条命令就可以了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-16 18:49 , Processed in 0.026535 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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