Nginx安装 ./configure: error

安装Nginx时报错

./configure: error: ngx_http_lua_module requires the Lua library.

解决办法

yum install lua-devel



安装Nginx时报错

./configure: error: the HTTP image filter module requires the GD library.
You can either do not enable the module or install the libraries.

解决办法:

yum  -y install gd-devel


安装Nginx时报错

./configure:  error: the HTTP rewrite module requires the PCRE library.

安装pcre-devel解决问题

yum -y install pcre-devel



安装Nginx时报错

./configure: error: SSL modules require the OpenSSL library.

You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl= option

解决办法:

yum  -y install openssl openssl-devel



你可能感兴趣的:(Environment,configuration)