Install nginx and the problem pcre Library is not foun

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 and install:
Tar zxvf nginx-0.6.38.tar.gz
CD nginx-0.6.38
./Configure
Make
Make install
If the installation is normal, the following error occurs:
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 = <path> option.

The above prompt shows that the PCRE Library needs to be installed.
You can download one from below. I downloaded one from the beginning, but it still won't work. Later, the next version is high!
Ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/

After the installation, enter the IP address in IE to access:
Http: // 192.168.1.200

 

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.