#35691 [Com]: Can't change to another drive letter using chdir()

From: Date: Tue, 26 Sep 2006 15:28:47 +0000
Subject: #35691 [Com]: Can't change to another drive letter using chdir()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-102719@lists.php.net to get a copy of this message
ID: 35691 Comment by: thiagomp at gmail dot com Reported By: ejwaibel at gmail dot com Status: Assigned Bug Type: Directory function related Operating System: Windows 2003 PHP Version: 5CVS-2005-12-19 (snap) Assigned To: nlopess New Comment: 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) Previous Comments: ------------------------------------------------------------------------ [2006-01-20 10:18:32] jarek at katnik dot pl It happpens also with Apache 1.3.31. ------------------------------------------------------------------------ [2006-01-19 17:00:11] nlopess@php.net OK, so here I go again. bug #36088 states this only happens with Apache (2.0.x) and works in CLI. Previously I had only tested in CLI, so back to testing. ------------------------------------------------------------------------ [2006-01-19 08:56:15] jarek at katnik dot pl I'm using PHP Version 5.1.2 on MS Windows XP Pro SP2. Drive 'R:' is mounted by ClearCase. When I run script listed bellow I get warrning: Warning: chdir() [function.chdir]: No such file or directory (errno 2) in {scriptName} on line {lineNumber} <?php chdir('R:'); ?> ------------------------------------------------------------------------ [2005-12-20 19:43:20] nlopess@php.net I've installed win 2003 and I can't reproduce the problem. Please double check your 'subst' command (by entering in my computer and see if the drive is listed there, etc..) ------------------------------------------------------------------------ [2005-12-19 17:41:10] nlopess@php.net So, this is only happening with attached drive on Windows 2003. I can only think of a bug in GetLongPathName(). I'll install windows 2003 server somewhere to test. ------------------------------------------------------------------------ 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

« previous php.bugs (#102719) next »