原先用的集成环境是没有问题的 换了个服务器就不好了
带上配置文件
server {
listen 80;
server_name localhost;
root D:/workspace;
index index.html index.htm index.php;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location ~ \.php$ {
try_files $uri =404;
include fastcgi.conf;
fastcgi_pass 127.0.0.1:9000;
}
}