#27823 [Com]: __FILE__ still not working properly in includes under Solaris
| From: | wrhj at yahoo dot com | Date: | Wed, 19 Jul 2006 01:42:40 +0000 |
| Subject: | #27823 [Com]: __FILE__ still not working properly in includes under Solaris | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-99586@lists.php.net to get a copy of this message | ||
ID: 27823
Comment by: wrhj at yahoo dot com
Reported By: roy at pine dot nl
Status: No Feedback
Bug Type: Scripting Engine problem
Operating System: Solaris 7
PHP Version: 4CVS-2004-04-29
New Comment:
yeeah, you guys are right.
Previous Comments:
------------------------------------------------------------------------
[2006-07-05 04:56:54] kwerle at pobox dot com
Please see http://bugs.php.net/bug.php?id=34552
for the cause
and solution
------------------------------------------------------------------------
[2005-09-14 23:03:33] mmayer at blastwave dot org
It is still happening. I ran into it today, trying to install the newly
released Gallery 2.
My system is a Sun Ultra 60, running Solaris 9. I also run Apache 2 and
PHP 4.4.0.
I installed Gallery 2 under ~/public_html (i.e. in my home directory).
When I moved it into the docroot of Apache, it started working.
I can also reproduce the problem with the two little scripts provided
by roy. But only if the scripts are in a subdirectory of
/home/markus/public_html. If they are in a subdirectory of the
doc-root, everything is fine.
------------------------------------------------------------------------
[2005-02-11 01:00:07] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2005-02-03 05:36:07] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2004-11-18 06:09:28] chiller at orchidsuites dot net
Same problem. __FILE__ returns './filename' instead of
'/path/to/filename'.
MacOS X Server 10.3.6 / PHP 4.3.9
It seems this bug keeps getting reintroduced. IMO __FILE__ should
return the full path.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27823
--
Edit this bug report at http://bugs.php.net/?id=27823&edit=1