challey 发表于 2024-7-2 15:40:21

lnmp2.1 安装失败提示apache安装失败

Nginx: OK
MySQL: OK
PHP: OK
Error: Apache install failed.
Sorry, Failed to install LNMP!

但是我systemctl status httpd是正常的:
httpd.service - The Apache HTTP Server
   Loaded: loaded (/etc/systemd/system/httpd.service; enabled; preset: disabled)
   Active: active (running) since Tue 2024-07-02 15:01:13 CST; 29min ago
   Main PID: 1352743 (httpd)
      Tasks: 82 (limit: 22667)
   Memory: 52.0M
      CPU: 115ms
   CGroup: /system.slice/httpd.service
             ├─1352743 /usr/local/apache/bin/httpd -k start
             ├─1352744 /usr/local/apache/bin/httpd -k start
             ├─1352745 /usr/local/apache/bin/httpd -k start
             └─1352746 /usr/local/apache/bin/httpd -k start

然而执行lnmp提示命令不存在。

日志太长不上传了。
安装过程会启用libphp5.so模块,但是我安装的是php8.3,很不解。手工注释以后启动成功,但是lnmp安装失败。



页: [1]
查看完整版本: lnmp2.1 安装失败提示apache安装失败