1、php配置需要生效:service nginx restart 2、nginx配置需要生效:/usr/local/nginx/sbin/nginx -s reload 转载于:https://www.cnblogs.com/wenus/archive/2010/09/13/1825187.html