An error occurred while loading ssl during Nginx installation.

Source: Internet
Author: User
: This article describes how to install and load ssl in Nginx. For more information about PHP tutorials, see. Nginx installation and loading ssl error solution

[Root @ jowei nginx-0.8.9] # make
Make-f objs/Makefile
Make [1]: Entering directory '/jowei/Wei'
Cd/usr/include/openssl /\
& Make clean \
& Amp;./config -- prefix =/usr/include/openssl // openssl no-shared No-threads \
& Make \
& Make install
Make [2]: Entering directory '/usr/include/openssl'
Make [2]: *** No rule to make target 'clean '. Stop.
Make [2]: Leaving directory '/usr/include/openssl'
Make [1]: *** [/usr/include/openssl // openssl/include/openssl/ssl. h] Error 2
Make [1]: Leaving directory '/jowei/Wei'
Make: *** [build] Error 2
If this problem occurs, you can never compile it, that is, direct the path with-openssl =/______ to your source code installation package path instead of the path after installation!

-The rewrite function of Nginx with-pcre must use the pcre library to work. this option in the Nginx compilation parameters does not specify the pcre installation directory as usual, specifies the Directory of the pcre source code.
That is to say, if the lib and include files of pcre can be found in your system path, this option can be left unspecified. If pcre is not installed on your system, specify this option. Nginx will compile the pcre from the directory you specified during compilation.


-With-openssl
-With-zlib
With-md5
With-sha1
Like pcre, these options specify the source code directory rather than the installation directory of these class libraries.

I didn't see it clearly at first, so I decided to specify the directory according to the general idea and made a lot of detours...

The above describes the Nginx installation and loading of ssl errors, including the content, hope to be helpful to friends interested in PHP tutorials.

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.