VPS侦探论坛

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

lnmp1.5在centos6.9安装失败

[复制链接]
发表于 2018-3-15 15:53:59 | 显示全部楼层 |阅读模式

make[1]: Leaving directory `/root/lnmp1.5/src/nginx-1.12.2'
Create PHP Info Tool...
Copy PHP Prober...
Copy Opcache Control Panel...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]
Add Startup and Starting LNMPA...
Add nginx service at system startup...
Starting nginx...  done
Add httpd service at system startup...
start apache... /etc/init.d/httpd: line 87: /usr/local/apache/bin/httpd: No such file or directory
failed
============================== Check install ==============================
Checking ...
Nginx: OK
Do not install MySQL/MariaDB.
Error: PHP install failed.
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.
[root@iZj6cb78w5ngl64lrgdfzxZ lnmp1.5]# ll



附件里有错误图跟安装日志

本帖子中包含更多资源

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

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


xml/apr_xml.c && touch xml/apr_xml.lo
xml/apr_xml.c:35:19: error: expat.h: No such file or directory
xml/apr_xml.c:66: error: expected specifier-qualifier-list before ‘XML_Parser’

expat-devel 包拼写错了,yum install expat-devel 后重新安装应该就可以了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2018-3-15 17:11:00 | 显示全部楼层

回复 2# 的帖子


官方的安装包里也修复一下吧
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-24 11:22 , Processed in 0.026733 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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