解决宝塔启动nginx报错error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory

有用户反映在宝塔面板安装nginx后,创建站点和启用nginx都会提示报错/www/server/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*

发表评论

邮箱地址不会被公开。