Extrange behaviour with index.php and a plain link ( windows vs linux ? )
antoniofernandez
nginx-forum at nginx.us
Fri Sep 12 08:37:24 UTC 2014
Hi all,
This is my first comment here, thanks in advance to all who contribute.
I´m starting with nginx + php + fastCGI in windows environment, and I´m
having following behaviour:
I have two index.php files :
/public/index.php
/index.php
The content of /index.php file is :
----------------------------- content -------------------------
./public/index.php
------------------------------------------------------------------
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.
Regards
Antonio Fernández
www.jaraxa.com
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253207,253207#msg-253207
More information about the nginx
mailing list