当前位置:首页 > 服务器技术 > nginx

手动编译安装nginx

出现checking for PCRE library … not found、./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using –without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using –with-pcre= option.

你需要安装

sudo apt-get install libpcre3 libpcre3-dev

sudo apt-get install openssl libssl-dev

版权声明:本文为博主原创文章,未经博主允许不得转载。

以上就介绍了手动编译安装nginx,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!