Bug #66514 [Fbk->NoF]: realpath('.') and realpath('') return false instead of cwd

From: Date: Wed, 23 Apr 2014 13:31:09 +0000
Subject: Bug #66514 [Fbk->NoF]: realpath('.') and realpath('') return false instead of cwd
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185382@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 Updated by: ab@php.net Reported by: james at digitaledgeit dot com dot au Summary: realpath('.') and realpath('') return false instead of cwd -Status: Feedback +Status: No Feedback 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: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#185382) next »