解决方案 »

  1.   

    不是php程序的问题,nginx对pathinfo支持不好
    配置参考:
    location / {
        if (!-e $request_filename) {
            rewrite ^(.*)$ /index.php?s=$1 last;
            break;
        }
    }
      

  2.   

    这要写在哪里,我用的主机宝,
    早知道用windows 好了,
      

  3.   

    nginx 的域名配置文件。
    暂时没发现nginx 有啥不好的 哈哈哈 用了 WINDOWS 你就知道真的不好了 
      

  4.   

    这要写在哪里,我用的主机宝,
    早知道用windows 好了,nginx/conf/vhosts/xxx.conf中
    或者直接是nginx/conf/nginx.conf