Bug #66514 [NoF->Csd]: realpath('.') and realpath('') return false instead of cwd
| From: | james at digitaledgeit dot com dot au | Date: | Fri, 25 Apr 2014 22:01:29 +0000 |
| Subject: | Bug #66514 [NoF->Csd]: realpath('.') and realpath('') return false instead of cwd | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-185445@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66514&edit=1
ID: 66514
User updated by: james at digitaledgeit dot com dot au
Reported by: james at digitaledgeit dot com dot au
Summary: realpath('.') and realpath('') return false instead
of cwd
-Status: No Feedback
+Status: Closed
Type: Bug
Package: Filesystem function related
Operating System: IIS 7.5, Windows 2008 R2
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Unfortunately we no longer have access to the client's machine and are unable to provide
further information. When we investigated the client's issue we did not find any notifications
in the standard error log. We implemented a hot fix for the client utilising the getcwd() function,
which did work. See https://github.com/zendframework/zf2/pull/5729.
Previous Comments:
------------------------------------------------------------------------
[2014-04-23 13:31:09] ab@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
------------------------------------------------------------------------
[2014-01-19 13:45:12] ab@php.net
Works as expected for me, I suspect you have some environment issue. Please reveal more on your
environment - is that local system, is there something in the logs, etc? Have you tried the same
with CLI, another folder, another machine ... ?
------------------------------------------------------------------------
[2014-01-19 10:07:39] james at digitaledgeit dot com dot au
Description:
------------
Our client tried to install our application on PHP 5.4.14, 5.3.24 and 5.3.3 for IIS 7.5 on Windows
2008 R2 (Enterprise).
On troubleshooting we noticed realpath('.') and realpath('') were returning
false instead of the current working directory.
Test script:
---------------
var_dump(realpath('.'), realpath(''));
Expected result:
----------------
string (x) "c:\some\path\to\public"
string (x) "c:\some\path\to\public"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66514&edit=1