Welcome! Log In Create A New Profile

Advanced

Extrange behaviour with index.php and a plain link ( windows vs linux ? )

September 12, 2014 04:37AM
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
Subject Author Posted

Extrange behaviour with index.php and a plain link ( windows vs linux ? )

antoniofernandez September 12, 2014 04:37AM

Re: Extrange behaviour with index.php and a plain link ( windows vs linux ? )

Francis Daly September 17, 2014 03:28AM

Re: Extrange behaviour with index.php and a plain link ( windows vs linux ? )

Edho Arief September 17, 2014 03:48AM

Re: Extrange behaviour with index.php and a plain link ( windows vs linux ? )

antoniofernandez September 17, 2014 03:57AM

Re: Extrange behaviour with index.php and a plain link ( windows vs linux ? )

antoniofernandez September 17, 2014 03:51AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 158
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready