Under root privileges
Compilation environment configuration
1. First install the GCC compiler:
<code>apt-<span>get</span> install gcc</code>
<code>apt-<span>get</span> install g++</code>
2. Install the pcre library
<code>apt<span>-get</span> install libpcre3 libpcre3<span>-dev</span></code>
3. Install the zlib library
<code><span>**</span>apt<span>-get</span> install zlib1g<span>-dev</span><span>**</span></code>
4. Install the OpenSSL development library
<code>apt<span>-get</span> install openssl libssl<span>-dev</span></code>
—————————not end – to be continue————————
The above introduces the configuration and installation of nginx under ubuntu, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.