VPS侦探论坛

 找回密码
 注册
查看: 210|回复: 5

阿里云服务器 lnmp1.9 php安装失败

[复制链接]
发表于 2022-6-27 09:15:44 | 显示全部楼层 |阅读模式

PHP安装失败 大神帮忙看看怎么回事。


服务器是阿里云的Alibaba Cloud Linux 3.21.04
lnmp1.9


第一次安装的时候php和mysql失败了
之后单独装的mysql没问题
再装PHP就一直失败

本帖子中包含更多资源

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

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云VPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2022-6-27 19:56:30 | 显示全部楼层


Downloading Packages:
[SKIPPED] re2c-0.14.3-2.1.al8.x86_64.rpm: Already downloaded                  
Running transaction check
Waiting for process with pid 41528 to finish.
[Errno 2] No such file or directory: '/var/cache/dnf/alinux3-powertools-aa5580218919c372/packages/re2c-0.14.3-2.1.al8.x86_64.rpm'
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Waiting for process with pid 41677 to finish.
。。。。。。
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... ./configure: line 4574: conftest.c: No such file or directory
./configure: line 2173: conftest.err: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 2173: conftest.err: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 2173: conftest.err: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 2173: conftest.err: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 2173: conftest.err: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 2173: conftest.err: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 2173: conftest.err: No such file or directory
sed: can't read conftest.c: No such file or directory
unsupported
checking whether gcc understands -c and -o together... ./configure: line 4673: conftest.c: No such file or directory
no
checking whether make supports the include directive... ./configure: line 4727: confinc.mk: No such file or directory
./configure: line 4735: confmf.BSD: No such file or directory
./configure: line 4737: confmf.GNU: No such file or directory
no
checking dependency style of /root/lnmp1.9/src/libiconv-1.16/build-aux/compile gcc... none
checking how to run the C preprocessor... ./configure: line 4940: conftest.c: No such file or directory
./configure: line 2211: conftest.i: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 4940: conftest.c: No such file or directory
./configure: line 2211: conftest.i: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 4940: conftest.c: No such file or directory
./configure: line 2211: conftest.i: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 4940: conftest.c: No such file or directory
./configure: line 2211: conftest.i: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 4940: conftest.c: No such file or directory
./configure: line 2211: conftest.i: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 4940: conftest.c: No such file or directory
./configure: line 2211: conftest.i: No such file or directory
sed: can't read conftest.c: No such file or directory
/lib/cpp
./configure: line 4999: conftest.c: No such file or directory
./configure: line 2211: conftest.i: No such file or directory
sed: can't read conftest.c: No such file or directory
./configure: line 4999: conftest.c: No such file or directory
./configure: line 2211: conftest.i: No such file or directory
sed: can't read conftest.c: No such file or directory
configure: error: in `/root/lnmp1.9/src/libiconv-1.16':
configure: error: C preprocessor "/lib/cpp" fails sanity check

......
./configure: line 42522: ./build/shtool: No such file or directory
./configure: line 42529: ./build/shtool: No such file or directory

。。。。。
crypto/bn/asm/x86_64-gcc.o crypto/bn/asm/x86_64-gcc.c
In file included from crypto/bn/asm/x86_64-gcc.c:10:
crypto/bn/asm/../bn_local.h:21:12: fatal error: crypto/bn_conf.h: No such file or directory
   21 | #  include "crypto/bn_conf.h"
      |            ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:1638: crypto/bn/asm/x86_64-gcc.o] Error 1

居多错误信息,正常全新安装的系统都没问题,系统初始化之后做过什么操作?
没有数据的话没有修复的意义,建议直接重装后安装
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2022-6-27 12:19:58 | 显示全部楼层

lnmp安装失败需要上传lnmp安装失败的日志,你传的php升级的日志
美国VPS推荐: 遨游主机LinodeLOCVPS主机云VPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2022-6-27 13:04:21 | 显示全部楼层



lnmp安装日志

本帖子中包含更多资源

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

x
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2022-6-27 13:06:35 | 显示全部楼层

licess 发表于 2022-6-27 12:19
lnmp安装失败需要上传lnmp安装失败的日志,你传的php升级的日志

下面这个是lnmp的日志

美国VPS、VPN、域名代购:http://shop63846532.taobao.com/

 楼主| 发表于 2022-6-27 20:18:57 | 显示全部楼层

licess 发表于 2022-6-27 19:56
居多错误信息,正常全新安装的系统都没问题,系统初始化之后做过什么操作?
没有数据的话没有修复的意义, ...

之前用的CentOS 8,因为不支持了,装成了alibaba cloud linux,装好后只执行了个yum update
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2022-8-9 04:17 , Processed in 0.026170 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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