Home >Backend Development >PHP Tutorial >nginx source package installation nginx rewrite nginx php where is nginx.conf
First go to http://nginx.org/download/ to download the nginx version package you need. Use wget to download
If you need to redirect the installation of the corresponding package
yum -y install pcre*<pre name="code" class="plain">wget http://nginx.org/download/nginx-1.7.8.tar.gz
tar -zxvf nginx-1.7.8.tar.gz
./configure --prefix=/usr/local/nginx \ --with-http_ssl_module --with-http_stub_status_module --with-pcre
如果没有报错直接运行 make && make install cd /usr/local/nginx/sbin ./nginx 启动对应的nginx服务
The above introduces the nginx source package installation, including nginx content. I hope it will be helpful to friends who are interested in PHP tutorials.