sunny257 发表于 2020-4-15 12:45:16

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: 
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!
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:25

安装日志

licess 发表于 2020-4-15 18:07:43

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:48

回来交差
先没装数据库
直接lnmp
一会儿手动装mysql8.X
这次没问题
应该是我升级了gcc 然后改了软链的问题
多谢军哥~~~
页: [1]
查看完整版本: centos6.8 lnmp1.6 安装php失败