As you can see the content of this PHP file don´t have <?php .... ?>
block, just a relative link to another file, so I´m seeing two different
behaviours in windows & linux.
Windows)
The text “./public/index.php” is showed in the browser and the php
processing ends.
Linux)
This content is interpreted “like a link” to /public/index.php file and
the content of /public/index.php is processed,
without rendering the plain text “./public/index.php” like in windows.
Any idea ? Perhaps it could be a trivial problem related only with PHP,
but I´m just a beginner with both PHP and NGnix.
On Fri, Sep 12, 2014 at 04:37:24AM -0400, antoniofernandez wrote:
Hi there,
nginx doesn’t “do” php.
It is probably worth checking the logs of your fastcgi server to see
what is going on.
Or maybe your browser is trying to be clever – what http response do
you get for the initial request? Do you see one or two requests made by
the browser when you test (you can check the nginx logs to see that).
The problem was just a misundertanding between the NTFS filesystem and
EXT3
in Linux. The index.php file is a symbolink link, but Windows don´t
recognize symbolik links, that´s explains the different behaviour.