VPS侦探论坛

 找回密码
 注册
查看: 1479|回复: 4

lnmp2.0或1.9 php都安装失败

[复制链接]
发表于 2023-6-2 23:05:52 | 显示全部楼层 |阅读模式


由于今日附件无法上传,部分日志:

Complete!
iptables: Saving firewall rules to /etc/sysconfig/iptables: [  OK  ]
Redirecting to /bin/systemctl reload iptables.service
Job for iptables.service invalid.
Add iptables service at system startup...
Created symlink from /etc/systemd/system/basic.target.wants/iptables.service to /usr/lib/systemd/system/iptables.service.
Add Startup and Starting LNMP...
Add nginx service at system startup...
Created symlink from /etc/systemd/system/multi-user.target.wants/nginx.service to /etc/systemd/system/nginx.service.
Add mysql service at system startup...
Add php-fpm service at system startup...
Created symlink from /etc/systemd/system/multi-user.target.wants/php-fpm.service to /etc/systemd/system/php-fpm.service.
============================== Check install ==============================
Checking ...
Nginx: OK
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.


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


可以换个操作系统 试下。如在ubuntu22 下不行,就在centos7下试下。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2023-6-4 14:28:54 | 显示全部楼层

反馈必读、发帖页面等各个地方都写了如何上传日志
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2023-6-21 10:23:07 | 显示全部楼层



补充日志文件:https://cowtransfer.com/s/6fef7ea1943d46
口令:4cwix8
麻烦帮忙看看为什么php一直装不上,后来换了1.8版本也不行
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2023-6-21 21:09:46 | 显示全部楼层

jingling 发表于 2023-6-21 10:23
补充日志文件:https://cowtransfer.com/s/6fef7ea1943d46
口令:4cwix8
麻烦帮忙看看为什么php一直装不上 ...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirrors.ustc.edu.cn
Package epel-release-6-8.noarch already installed and latest version

。。。。。。
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirrors.ustc.edu.cn
No package oniguruma-devel available.

。。。。。。
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.

Alternatively, you may set the environment variables ONIG_CFLAGS
and ONIG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

你系统是CentOS 7,但是安装lnmp前你系统就已经安装了个centos 6的epel,这肯定会造成依赖包安装不了,php也就肯定安装不了

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-24 03:15 , Processed in 0.026308 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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