cncbm 发表于 2018-3-15 15:53:59

lnmp1.5在centos6.9安装失败

make: 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:
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.
# ll



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

licess 发表于 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 后重新安装应该就可以了

cncbm 发表于 2018-3-15 17:11:00

回复 2# 的帖子

官方的安装包里也修复一下吧
页: [1]
查看完整版本: lnmp1.5在centos6.9安装失败