zno2

nginx 和 php

 

如果访问 index.php 那么一定要include fastcgi.conf (是相对路径,这点要注意)

举例:

    location ~ \.php$ {
        fastcgi_pass    127.0.0.1:9000;
        include         fastcgi.conf;
    }

 

posted on 2023-06-06 13:17  zno2  阅读(6)  评论(0编辑  收藏  举报

导航