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

From: Date: Sun, 19 Jan 2014 13:45:13 +0000
Subject: Bug #66514 [Opn->Fbk]: realpath('.') and realpath('') return false instead of cwd
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183898@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: Open +Status: 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: 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 ... ? Previous Comments: ------------------------------------------------------------------------ [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 (#183898) next »