On Feb 27, 2011, at 18:35 , Aditya Herlambang wrote:
> Is it also possible to change my php directive to:
>
> location ~ \.php$ {
> root html;
> fastcgi_pass 127.0.0.1:9000;
> fastcgi_index index.php;
> fastcgi_param SCRIPT_FILENAME html$fastcgi_script_name;
> include fastcgi_params;
> }
>
> ?? Will it do the same?
Please read this
http://nginx.org/en/docs/http/request_processing.html#simple_php_site_configuration
--
Igor Sysoev
http://sysoev.ru/en/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx