VPS侦探论坛

标题: centos6.8 lnmp1.6 安装php失败 [打印本页]

作者: sunny257    时间: 2020-4-15 12:45
标题: centos6.8 lnmp1.6 安装php失败
============================phpMyAdmin install completed=======================
Loaded plugins: fastestmirror, security
Setting up Install Process
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* centos-sclo-rh: mirrors.tuna.tsinghua.edu.cn
* centos-sclo-sclo: mirrors.aliyun.com
No package iptables-services available.
Error: Nothing to do
iptables: Saving firewall rules to /etc/sysconfig/iptables: [  OK  ]
Add iptables service at system startup...
Add Startup and Starting LNMP...
Add nginx service at system startup...
Starting nginx... nginx (pid 26223) already running.
Add php-fpm service at system startup...
error reading information on service php-fpm: No such file or directory
error reading information on service php-fpm: No such file or directory
include/end.sh: line 56: /etc/init.d/php-fpm: No such file or directory
============================== Check install ==============================
Checking ...
Nginx: OK
Do not install MySQL/MariaDB.
Error: PHP 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.


安装了msql8.0.13  升级了gcc到6.3 cmake到3
安装php失败  军哥给看下什么问题  是源么?


作者: sunny257    时间: 2020-4-15 14:43
安装日志
作者: licess    时间: 2020-4-15 18:07
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/root/lnmp1.6/src/php-5.6.40':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

可以参考:https://bbs.vpser.net/thread-18875-1-1.html
作者: sunny257    时间: 2020-4-15 18:37
回来交差
先没装数据库
直接lnmp
一会儿手动装mysql8.X
这次没问题
应该是我升级了gcc 然后改了软链的问题
多谢军哥~~~




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4