ID: 35691 Updated by: [EMAIL PROTECTED] Reported By: ejwaibel at gmail dot com -Status: Verified +Status: Assigned Bug Type: Directory function related Operating System: Windows PHP Version: 5CVS-2005-12-19 (snap) -Assigned To: +Assigned To: pajoye New Comment:
There is no bug here. The documentation (php, posix or msdn) says that a path is expected. A drive letter is not a path, even not a relative path. If it is desired to have php's chdir behaves like chDrive on windows (netware too?), it could be possible to do it. As it will make chdir behaviors inconsistent with the system API, it will keep the php code portable (from an API point of view). If not, I can add expose chDrive. Previous Comments: ------------------------------------------------------------------------ [2008-06-23 09:34:54] [EMAIL PROTECTED] I don't have time to investigate this problem further.. ------------------------------------------------------------------------ [2007-05-26 03:34:17] laifanleuk at net-yan dot com Same problem here. Try to open_dir to a SUBST'ed directory failed. Using XP sp2, Apache 2.2.4 is install by my admin, running as service . I have no administrator access right. Before my admin installed Apache as service, I was using apache as normal user, running in console mode. It worked perfectly then. ------------------------------------------------------------------------ [2006-11-01 15:11:45] [EMAIL PROTECTED] I reproduce this with both Windows XP and 2003. ------------------------------------------------------------------------ [2006-11-01 15:05:44] [EMAIL PROTECTED] OK, I was able to reproduce the problem. I used Apache 2.0 and is_dir() doesn't work with network mapped drives. other drives work and in CLI mode it also works. (it can be because Apache runs as another user, although I haven't looked further into the problem) ------------------------------------------------------------------------ [2006-09-26 15:28:47] thiagomp at gmail dot com The problem appeared here with the following configuration: Windows XP SP2 PHP 5.0.5 (with Apache 1.3.33) and 5.1.6 (with Apache 2.0.59) ------------------------------------------------------------------------ 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/35691 -- Edit this bug report at http://bugs.php.net/?id=35691&edit=1