On Mon, Jun 08, 2015 at 07:04:22PM +0530, Prameswar Lal wrote:

Hi there,

> hi i am using nginx with magento which use fastCGI .
> whenever i type in url http://example.com/index.php then index.php start
> downloading .
> can anyone help me  ?

What does the file /var/log/nginx/nginx-access.log say about this request?

As in: are you certain that this request is handled by this server{} block?

And if so: what is the content of the file index.php? Does it include
any php tags at all? Does it include short tags that your fastcgi server
does not honour?

What is the start of the output of "curl -i
http://example.com/index.php";? Specifically: what are all of the http
headers returned?

        f
-- 
Francis Daly        fran...@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to