VPS侦探论坛

 找回密码
 注册
查看: 265|回复: 1

PHP&NGINX安装失败~~

[复制链接]
发表于 2020-10-13 11:11:41 | 显示全部楼层 |阅读模式



============================== Check install ==============================
Checking ...
Error: Nginx install failed.
MySQL: OK
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.



日志太大,上传不了附件,请直接下载
https://securitytcjf.com/lnmp-install.7z

美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-10-13 12:32:28 | 显示全部楼层


checking whether to enable multibyte regex support (requires oniguruma)... yes
checking for oniguruma... no
configure: error: Package requirements (oniguruma) were not met:

No package 'oniguruma' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

。。。。。。。。。。

。。。。。。。。。。。。。

Operating system: x86_64-whatever-linux2
This system (linux-x86_64) is not supported. See file INSTALL for details.
make[1]: *** [/root/lnmp1.7/src/openssl-1.1.1g/.openssl/include/openssl/ssl.h] Error 1

第一个错误的话是因为缺少oniguruma-devel,这个在安装包里都是有的,但是因为epel源有问题
Loaded plugins: fastestmirror
http://ftp.jaist.ac.jp/pub/Linux ... primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/

https://mirrors.thzhost.com/epel ... primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
http://ftp.iij.ad.jp/pub/linux/F ... primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.earthlink.iq/epel/ ... updateinfo.xml.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.poliwangi.ac.id/ep ... primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.poliwangi.ac.id/ep ... updateinfo.xml.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.earthlink.iq/epel/ ... primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.jaist.ac.jp/pub/Linux ... updateinfo.xml.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
https://mirrors.thzhost.com/epel ... updateinfo.xml.bz2: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
http://ftp.iij.ad.jp/pub/linux/F ... updateinfo.xml.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.

而无法安装,可以执行:wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
后再试一下

nginx的安装错误原因不大清楚,有可能前面源修复好了就可以了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2020-12-4 03:45 , Processed in 0.049064 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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