Category: Lua 5.1

查看 Nginx 日志文件,morefunresty.dev.chinamcloud.cn.error.log,module 'lib.redis' not found: no field package.preload['lib.redis']。 0

OpenResty under Windows 10 , an error: modulelib.redisnot found: No field package.preload[‘lib.redis’]

Post Views: 14 1. Run the Lua program, and report an error: 500 Internal Server Error Openresty/1.19.9.1. as shown in Figure 1 2. Check the nginx log file, morefunresty.dev.chinamcloud.cn.error.log, modulelib.redisNot found: no field package.preload[‘lib.redis’]....

参考入门文档:https://openresty.org/cn/getting-started.html 。运行 lua 程序,响应正常。符合预期。 0

Installation and deployment of OpenResty under Windows 10, and support running PHP and Lua at the same time

Post Views: 66 1. URL: http://openresty.org/cn/download.html , download and install: 64-bit Windows: openresty-1.19.9.1-win64.zip. 2. Unzip to the directory: C:\OpenResty-1.19.9.1-Win64. as shown in Figure 1 3. Usage documentation for Windows version of OpenResty: https://github.com/openresty/openresty/blob/master/doc/readme-windows.md ....