VPS侦探论坛

 找回密码
 注册
查看: 497|回复: 0

1.9版本安装lnmp,php安装失败

[复制链接]
发表于 2024-3-4 10:40:23 | 显示全部楼层 |阅读模式

系统环境:
NAME="Alibaba Cloud Linux"
VERSION="3 (Soaring Falcon)"
ID="alinux"
ID_LIKE="rhel fedora centos anolis"
VERSION_ID="3"
UPDATE_ID="9"
PLATFORM_ID="platform:al8"
PRETTY_NAME="Alibaba Cloud Linux 3 (Soaring Falcon)"
ANSI_COLOR="0;31"
HOME_URL="https://www.aliyun.com/"


安装版本:
mysql8和php7.4。
php安装失败。提示如下:

2024-03-04T02:30:46Z chronyd version 4.2 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +NTS +SECHASH +IPV6 +DEBUG)
2024-03-04T02:30:46Z Fatal error : Another chronyd may already be running (pid=635), check /run/chrony/chronyd.pid
Mon Mar  4 10:30:46 AM CST 2024
[-] Yum remove packages...
error: package httpd is not installed
error: package httpd-tools is not installed
error: package php-mysql is not installed
error: package php-cli is not installed
error: package php-gd is not installed
error: package php-common is not installed
error: package php is not installed
No match for argument: httpd*
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
No match for argument: php*
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!



make[1]: Leaving directory '/usr/local/lnmp/lnmp1.9/src/nginx-1.22.0'
chown: changing ownership of '/home/wwwroot/default/.user.ini': Operation not permitted
mkdir: cannot create directory ‘/usr/local/nginx/conf/vhost’: File exists
include/nginx.sh: line 157: /home/wwwroot/default/.user.ini: Operation not permitted
chmod: changing permissions of '/home/wwwroot/default/.user.ini': Operation not permitted
3.9+
Create PHP Info Tool...
Copy PHP Prober...
Copy Opcache Control Panel...
============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
Last metadata expiration check: 0:05:35 ago on Mon 04 Mar 2024 10:31:09 AM CST.
Package iptables-services-1.8.4-24.0.1.al8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
iptables: Saving firewall rules to /etc/sysconfig/iptables:[  OK  ]
Redirecting to /bin/systemctl reload iptables.service
iptables.service is not active, cannot reload.
Add iptables service at system startup...
Add Startup and Starting LNMP...
Add nginx service at system startup...
Synchronizing state of nginx.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable nginx
Add php-fpm service at system startup...
============================== 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.




美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-17 13:23 , Processed in 0.026175 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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