发布于 5年前

配置好php和nginx之后,访问index.php时页面空白

配置好 phpnginx 之后,访问 index.php 时页面空白

解决办法:

location ~ \.php$ {
    root           html;
    fastcgi_pass   127.0.0.1:9000;
    fastcgi_index  index.php;
    #fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;
    include        fastcgi.conf;
}
©2020 edoou.com   京ICP备16001874号-3