lnmp的部署

改主配置文件

location ~ \.php$ {
            root           html;
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            include        fastcgi.conf;    (删除上面很长的那一行,再把此行的fastcgi的后缀改成conf,fastcgi.conf在conf目录下有,里面的内容记录的是nginx的变量)
        }

posted @ 2019-11-28 10:21  tvblly  阅读(75)  评论(0编辑  收藏  举报