1.9版本安装lnmp,php安装失败
系统环境: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 Mar4 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: 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:
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.
页:
[1]