Home >Backend Development >PHP Tutorial >Manually compile and install nginx

Manually compile and install nginx

WBOY
WBOYOriginal
2016-07-30 13:31:301000browse

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.

You need to install

<code>sudo apt-get install libpcre3 libpcre3-dev

sudo apt-get install openssl libssl-dev
</code>

Copyright statement: This article is the original article of the blogger and may not be reproduced without the permission of the blogger.

The above introduces the manual compilation and installation of nginx, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn