#48020 [Bgs]: mkdir not recognizing virtual directory
| From: | pajoye@php.net | Date: | Mon, 20 Apr 2009 06:22:37 +0000 |
| Subject: | #48020 [Bgs]: mkdir not recognizing virtual directory | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-136002@lists.php.net to get a copy of this message | ||
ID: 48020
Updated by: pajoye@php.net
Reported By: thinknirmal at gmail dot com
Status: Bogus
Bug Type: Filesystem function related
Operating System: Windows Server 2008
PHP Version: 5.2.9
Assigned To: pajoye
New Comment:
There is no symlink or directory created, so there is no way for PHP or
any other application to know them without calling the IIS API
functions. ASP.net has PhysicalApplicationPath or ApplicationPath (along
other), FCGI only knows about the physical path. It would be very slow
and inefficient if we would have to manually resolve these paths on each
request or file operation (from a php script for example).
Previous Comments:
------------------------------------------------------------------------
[2009-04-20 05:51:43] thinknirmal at gmail dot com
I agree virtual directory is not a real folder.
But the target is always a physical folder. Logically, php should play
with the target physical folder when a virtual directory is referred to.
------------------------------------------------------------------------
[2009-04-20 05:48:36] pajoye@php.net
For the record here, run to list them:
%windir%\system32\inetsrv\appcmd list vdirs
------------------------------------------------------------------------
[2009-04-20 05:47:19] pajoye@php.net
Virtual directories are not real folders.
------------------------------------------------------------------------
[2009-04-20 03:11:56] thinknirmal at gmail dot com
Description:
------------
The mkdir function is not recognizing virtual directories created using
IIS 7.0.
Is this a bug?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48020&edit=1