Home > Backend Development > PHP Tutorial > Nginx installation loading ssl error

Nginx installation loading ssl error

WBOY
Release: 2016-07-29 09:13:18
Original
1099 people have browsed it

NginxInstallation and loadingsslError problem resolution

[root@jowei nginx-0.8 .9]# make
make -f objs/Makefile
make[1]: Entering directory `/jowei/nginx-0.8.9'
cd /usr/include/openssl/
&& make clean
&& ./config --prefix=/usr/include/openssl//openssl no-shared no-threads
&& make
&& make install
make[2]: Entering directory `/usr/inc/open ssl'
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/nginx-0.8.9'
make: *** [build] Error 2
The decisive solution when this problem occurs: compile your code The fate is that with-openssl=/______ this path points to your source code installation package path instead of your installed path!

–with-pcre The rewrite function of Nginx requires the pcre library to work, and this option in the compilation parameters of Nginx does not specify the pcre installation directory as usual, but specifies the pcre source code Table of contents.
In other words, if the lib and include files of pcre can already be found in your system path, this option does not need to be specified. If PCRE is not installed on your system, then specify this option and Nginx will compile PCRE from the directory you specify during compilation.


with-openssl
–with-zlib
–with-md5
–with-sha1
These options are the same as pcre, specifying the source code directory, not the installation directory of these libraries.

I didn’t see it clearly at first, so I followed the conventional idea to specify the directory and took many detours...

The above introduces the Nginx installation and loading ssl error, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template