centos配置php-fpm

2017-09-06  本文已影响4人  leyi422

location ~ .php$ {
root /usr/share/nginx/html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}

上一篇 下一篇

猜你喜欢

热点阅读