≡ Menu

Nginx Instalation : PCRE Library Not Found

PCRE Library is a library that is required to use HTTP rewrite when we do a compilation of nginx. The PCRE package contains Perl Compatible Regular Expression libraries useful for implementing regular expression pattern matching.

If PCRE is not installed on the server, it will result in the following error message during the Nginx compliation:

How to Install the PCRE library so we can install Nginx Web Server with the HTTP rewrite module ? login into your server via SSH as user ‘root’

1) First, goto a temporary directory

2) Download PCRE:

3) Unpack and change to the pcre directory

4) Confiure PCRE:

5) Create the installation files and install PCRE

Once done, you should be able to install Nginx with the HTTP rewrite module.

{ 1 comment… add one }

Leave a Comment