redis2-nginx-module
redis2-nginx-module copied to clipboard
redis2-nginx-module Module installation problem
My system is ubuntu14.04 apt-get install libreadline-dev libpcre3-dev libssl-dev perl build-essential I installed these options ./configure --prefix=/opt/openresty --without-http_redis2_module --without-http_redis_module --without-lua_resty_redis --without-lua_cjson --with-http_iconv_module --without-http_set_misc_module The installation process without any problems,Nginx is running normally,Can parse lua But can't identify redis2 unknown directive "redis2_query" On the Internet looking for a long time didn't find the solution,Redis can run normally I install ngx_openresty-1.7.4.1
@yangyaoweng It doesn’t sound like you actually installed this module (see --without-http_redis2_module
). Have another look at https://github.com/openresty/redis2-nginx-module#installation .. you need to add
--add-module=/path/to/redis2-nginx-module
to compile it with redis2 support.
Thank you for your answer; When I was in installation of basic ningx can normal use; ./configure --prefix=/opt/nignx --add-module=/usr/local/redis2-nginx-module-master Can used after installation
I now is to use openresty;It contains these files; http://openresty.org/ You can't use after installation