#35691 [Asn]: Can't change to another drive letter using chdir()
| From: | nlopess@php.net | Date: | Wed, 01 Nov 2006 15:05:45 +0000 |
| Subject: | #35691 [Asn]: Can't change to another drive letter using chdir() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-104257@lists.php.net to get a copy of this message | ||
ID: 35691
Updated by: nlopess@php.net
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:
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)
Previous Comments:
------------------------------------------------------------------------
[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)
------------------------------------------------------------------------
[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..)
------------------------------------------------------------------------
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