Home >Backend Development >PHP Tutorial >Manually compile and install 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.
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.