Error:the HTTP Rewrite module requires the PCRE library.

Source: Internet
Author: User
Tags openssl library

1 from http://nginx.org/en/download.html or http://nginx.net/en/download.html

wget http://nginx.org/download/nginx-0.6.38.tar.gz

2 Unzip the installation:
Tar zxvf nginx-0.6.38.tar.gz
CD nginx-0.6.38
./configure
Make
Make install
Normal installation, this is OK, but sometimes the following prompt error is shown:
Configuration Summary
+ PCRE Library is not found
+ OpenSSL Library is not used
+ MD5 library is not used
+ SHA1 Library is not used
+ Using System zlib Library

./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.

As you can see from the tips above, you need to install the Pcre library

./CONFIGURE:ERROR:SSL modules require the OpenSSL library.

You can either does 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.

Error:the HTTP Rewrite module requires the PCRE library.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.