VPS侦探论坛

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

LNMP 2.1 一键安装脚本 Nginx安装失败

[复制链接]
发表于 2025-7-15 00:05:31 | 显示全部楼层 |阅读模式

军哥,最近 Linode CentOS 9 Steam安装LNMP2.1,Nginx安装失败。信息入下:

Checking ...
Error: Nginx install failed.
MySQL: OK
PHP: OK
PHP-FPM: OK
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.


跟AI聊完反馈是NMP 2.1 安装 Nginx 1.26.0 源码时,在 ngx_process.c 中出现了拼写错误。

src/os/unix/ngx_process.c:27:6: error: expected ‘;’ before ‘int’   27 | tatic int  ngx_os_argc = 1;      |      ^~~~      |      ;
LNMP 安装脚本未自动修复 Nginx 的源码错误,static 被错误写成 tatic,导致编译失败。


希望这个只是个例。




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

本版积分规则

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

GMT+8, 2025-7-30 17:51 , Processed in 0.024882 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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