{"action":"created","issue":{"url":"https://api.github.com/repos/LomoX-Offical/nginx-openresty-windows/issues/11","labels_url":"https://api.github.com/repos/LomoX-Offical/nginx-openresty-windows/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/LomoX-Offical/nginx-openresty-windows/issues/11/comments","events_url":"https://api.github.com/repos/LomoX-Offical/nginx-openresty-windows/issues/11/events","html_url":"https://github.com/LomoX-Offical/nginx-openresty-windows/issues/11","id":105955559,"number":11,"title":"集成 ceryx 出错","user":{"login":"pinghe","id":377955,"avatar_url":"https://avatars.githubusercontent.com/u/377955?v=3","gravatar_id":"","url":"https://api.github.com/users/pinghe","html_url":"https://github.com/pinghe","followers_url":"https://api.github.com/users/pinghe/followers","following_url":"https://api.github.com/users/pinghe/following{/other_user}","gists_url":"https://api.github.com/users/pinghe/gists{/gist_id}","starred_url":"https://api.github.com/users/pinghe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinghe/subscriptions","organizations_url":"https://api.github.com/users/pinghe/orgs","repos_url":"https://api.github.com/users/pinghe/repos","events_url":"https://api.github.com/users/pinghe/events{/privacy}","received_events_url":"https://api.github.com/users/pinghe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-11T07:01:42Z","updated_at":"2015-09-11T13:55:46Z","closed_at":null,"body":"nginx-openresty-windows 1.9.3.1 加入下面插件，报错\r\nhttps://github.com/sourcelair/ceryx\r\n\r\n```\r\n2015/09/11 14:57:50 [alert] 4844#12732: lua_code_cache is off; this will hurt performance in D:\\temp\\openresty\\ceryxnginx1.9.3.1/conf/nginx.conf:30\r\n2015/09/11 14:57:59 [error] 4844#13492: *1 lua entry thread aborted: runtime error: .\\resty\\core\\var.lua:56: cannot resolve symbol 'ngx_http_lua_ffi_var_get': 找不到指定的程序。\r\n\r\nstack traceback:\r\ncoroutine 0:\r\n\t[C]: in function '__index'\r\n\t.\\resty\\core\\var.lua:56: in function '__index'\r\n\tD:\\temp\\openresty\\ceryxnginx1.9.3.1/lualib/router.lua:1: in function <D:\\temp\\openresty\\ceryxnginx1.9.3.1/lualib/router.lua:1>, client: 127.0.0.1, server: , request: \"GET /test1 HTTP/1.1\", host: \"127.0.0.1:40080\"\r\n2015/09/11 14:57:59 [error] 4844#13492: *2 lua entry thread aborted: runtime error: .\\resty\\core\\var.lua:56: cannot resolve symbol 'ngx_http_lua_ffi_var_get': 找不到指定的程序。\r\n\r\nstack traceback:\r\ncoroutine 0:\r\n\t[C]: in function '__index'\r\n\t.\\resty\\core\\var.lua:56: in function '__index'\r\n\tD:\\temp\\openresty\\ceryxnginx1.9.3.1/lualib/router.lua:1: in function <D:\\temp\\openresty\\ceryxnginx1.9.3.1/lualib/router.lua:1>, client: 127.0.0.1, server: , request: \"GET /favicon.ico HTTP/1.1\", host: \"127.0.0.1:40080\", referrer: \"http://127.0.0.1:40080/test1\"\r\n```"},"comment":{"url":"https://api.github.com/repos/LomoX-Offical/nginx-openresty-windows/issues/comments/139553741","html_url":"https://github.com/LomoX-Offical/nginx-openresty-windows/issues/11#issuecomment-139553741","issue_url":"https://api.github.com/repos/LomoX-Offical/nginx-openresty-windows/issues/11","id":139553741,"user":{"login":"zqzjz0911","id":7539663,"avatar_url":"https://avatars.githubusercontent.com/u/7539663?v=3","gravatar_id":"","url":"https://api.github.com/users/zqzjz0911","html_url":"https://github.com/zqzjz0911","followers_url":"https://api.github.com/users/zqzjz0911/followers","following_url":"https://api.github.com/users/zqzjz0911/following{/other_user}","gists_url":"https://api.github.com/users/zqzjz0911/gists{/gist_id}","starred_url":"https://api.github.com/users/zqzjz0911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zqzjz0911/subscriptions","organizations_url":"https://api.github.com/users/zqzjz0911/orgs","repos_url":"https://api.github.com/users/zqzjz0911/repos","events_url":"https://api.github.com/users/zqzjz0911/events{/privacy}","received_events_url":"https://api.github.com/users/zqzjz0911/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T13:55:46Z","updated_at":"2015-09-11T13:55:46Z","body":"这个没有 其他 代替 方案么？ openresty 使用了 nginx 本身的导出函数去实现自己的功能，但与linux不同， 在windows 上所有的 函数都是默认不可见的，所以就没办法调用 ngx_http_lua_ffi_var_get 了。\r\n这里估计要不止一两个 函数 的问题。需要清算一下 resty 里边一共使用了多少函数，我们一次把他们都做导出，估计需要更多的时间去完成，感谢您的建议，我们会尽快完成这部分功能。"}}