Thanks for your interest. I'm going to try to explain the problem more detailed.
In IIS in you have the default web site with it's real directories within normaly c:\InetPub\wwwroot or you can create a virtual directory thats belong to another place of the file system, or you can as well create a new ( virtual ) site in another branch of the file system.
Suppose I have a php script "example.php" in C:\InetPub\wwwroot\realdir with the following sentence:
echo getcwd ();
The output of this line is:
C:\InetPub\wwwroot\realdir
Suppose now the same script in C:\popo and that you map c:\popo as a virtual directory or as a new site in IIS, now the output of the same line is:
C:\winnt\system32
Maybe the place were the php dll resides ?
I played a little with some directives in php.ini but without results.
Carlos
echo getcwd();