引用:

http://www.laruence.com/2009/11/13/1138.html

 

server {
        listen       80;
        server_name  localhost;
        index index.html index.htm index.php;
        root /alidata/www/pro;
        location ~ .*\.(php|php5)?$
        {
                #fastcgi_pass  unix:/tmp/php-cgi.sock;
                fastcgi_pass  127.0.0.1:9000;
                fastcgi_index index.php;
                include fastcgi.conf;
        }

 

 location ~ .*\.(php|php5)
        {
                #fastcgi_pass  unix:/tmp/php-cgi.sock;
                fastcgi_pass  127.0.0.1:9000;
                fastcgi_index index.php;
                include fastcgi.conf;
                fastcgi_param PATH_INFO $fastcgi_script_name;
        }

 

相关文章:

  • 2021-07-12
  • 2021-08-26
  • 2022-01-11
  • 2021-08-03
  • 2021-12-28
  • 2021-08-10
  • 2022-12-23
  • 2021-12-19
猜你喜欢
  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-12
相关资源
相似解决方案