VPS侦探论坛

 找回密码
 注册
查看: 279|回复: 3

centos6.8 lnmp1.6 安装php失败

[复制链接]
发表于 2020-4-15 12:45:16 | 显示全部楼层 |阅读模式



============================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失败  军哥给看下什么问题  是源么?

美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 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
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2020-4-15 18:37:48 | 显示全部楼层



回来交差
先没装数据库
直接lnmp
一会儿手动装mysql8.X
这次没问题
应该是我升级了gcc 然后改了软链的问题
多谢军哥~~~
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2020-5-31 17:39 , Processed in 0.046888 second(s), 27 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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