Nginx安装 .configure:error

xiaoxiao2021-02-28  61

安装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=<path> option

解决办法:

yum  -y install openssl openssl-devel

转载请注明原文地址: https://www.6miu.com/read-74510.html

最新回复(0)