nginx 和 php

如果访问 index.php 那么一定要include fastcgi.conf (是相对路径,这点要注意)
举例:
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
include fastcgi.conf;
}

如果访问 index.php 那么一定要include fastcgi.conf (是相对路径,这点要注意)
举例:
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
include fastcgi.conf;
}