centos 6 7 检测配置文件 /usr/local/nginx/sbin/nginx -t
出现以下错误:
/usr/local/nginx/sbin/nginx: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory
解决方案:
yum -y install lua*
完美解决
centos7 可能会不生效报以下错。
解决办法:
1 下载安装LuaJIT
[[email protected] mysql3306]# cd /usr/local/src
[[email protected] src]# wget http://luajit.org/download/LuaJIT-2.0.5.tar.gz
[[email protected] src]# tar -xvf LuaJIT-2.0.5.tar.gz
[[email protected] src]# cd LuaJIT-2.0.5
[[email protected] LuaJIT-2.0.5]# make && make install
重新检测,成功。
本文作者:一一网络 转载保留原文链接来源:https://layfjr.com/whfl
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END