Today, I configured nginx1.0.11 + php5.2.13,but I met mistakes when configure nginx.conf , like this

 

 

 
  
  1. location ~ \.php$ { 
  2.  
  3.            root           html; 
  4.  
  5.            fastcgi_pass   127.0.0.1:9000; 
  6.  
  7.            fastcgi_index  index.php; 
  8.  
  9.            fastcgi_param  SCRIPT_FILENAME  /usr/local/nginx/html/$fastcgi_script_name; 
  10.  
  11.            include        fastcgi_params; 
  12.  
  13.        } 
at first I wrote like this  fastcgi_param  SCRIPT_FILENAME  html$fastcgi_script_name; but failed.
I searched with google, found this essay  http://wangmk.blog.51cto.com/651644/207692
then I wrote the full path of it, problem resolved.