摘要:
当配置nginx的nginx.conf 时,可参照如下配置: server { listen 80; server_name www.advancephp2017.com; access_log logs/advance.access.log; root /home/andrewghost/www/ 阅读全文
摘要:
重启虚拟机后,再次重启nginx会报错“/var/run/nginx/nginx.pid" no such file or directory。google无门, 很多人的方法是: /usr/local/nginx/sbin/nginx -c --conf-path=/usr/local/nginx 阅读全文
摘要:
configure参数nginx和php是编译安装的关键。记录下来备用: php: ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=mysqlnd--with-my 阅读全文