jingling 发表于 2023-6-2 23:05:52

lnmp2.0或1.9 php都安装失败


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

Complete!
iptables: Saving firewall rules to /etc/sysconfig/iptables:
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!
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.


yisou 发表于 2023-6-3 09:32:40

可以换个操作系统 试下。如在ubuntu22 下不行,就在centos7下试下。

licess 发表于 2023-6-4 14:28:54

反馈必读、发帖页面等各个地方都写了如何上传日志

jingling 发表于 2023-6-21 10:23:07

补充日志文件:https://cowtransfer.com/s/6fef7ea1943d46
口令:4cwix8
麻烦帮忙看看为什么php一直装不上,后来换了1.8版本也不行

licess 发表于 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也就肯定安装不了
页: [1]
查看完整版本: lnmp2.0或1.9 php都安装失败