VPS侦探论坛

 找回密码
 注册
查看: 3060|回复: 1

军哥麻烦出个LNMP1.4里添加LuaJIT模块的教程吧!

[复制链接]
发表于 2017-5-2 18:04:11 | 显示全部楼层 |阅读模式

以前那个教程明显已经不适合了,照着网上那些鹦鹉学舌的教程没有一次成功的!希望军哥能给个官方的方法,多谢了!

照着网上的教程出错如下:
lnmp.conf里添加模块:
Nginx_Modules_Options='--add-module=/root/llua-nginx-module-0.10.7 --add-module=/root//ngx_devel_kit-0.3.0'

使用./upgrade.sh nginx编译出错:
adding module in /root/llua-nginx-module-0.10.7
./configure: error: no /root/llua-nginx-module-0.10.7/config was found
make: *** No rule to make target 'build', needed by 'default'.  Stop.
cp: cannot stat ‘objs/nginx’: No such file or directory
Test nginx configure file...
include/upgrade_nginx.sh: line 59: /usr/local/nginx/sbin/nginx: No such file or directory
upgrade...
make: *** No rule to make target 'upgrade'.  Stop.
Checking ...
Error: Nginx upgrade failed.

[ 本帖最后由 明月登楼 于 2017-5-2 18:15 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-5-2 20:17:16 | 显示全部楼层


第三方模块不会默认加入

看前面才参数就可以看出来参数都没写全,请再去看之前我发的lua的教程吧
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-27 05:44 , Processed in 0.025139 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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