ID: 48020 User updated by: thinknirmal at gmail dot com 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:
Thanks for the explanation. You are right that it would be a slower process. Right now I am handling this by having the physical path as a defined variable and using it all over the file system functions. But it would be better if php could check with fcgi whether it's a virtual directory if the physical folder is not present. This will come handy when a user chooses to move a folder to a remote location. Then there won't be any need to modify the codes. Previous Comments: ------------------------------------------------------------------------ [2009-04-20 06:22:37] paj...@php.net 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). ------------------------------------------------------------------------ [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] paj...@php.net For the record here, run to list them: %windir%\system32\inetsrv\appcmd list vdirs ------------------------------------------------------------------------ [2009-04-20 05:47:19] paj...@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