NginxInstallation and loadingsslError problem resolution
–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.