ID:               48852
 User updated by:  trutas dot ctx at gmail dot com
 Reported By:      trutas dot ctx at gmail dot com
 Status:           Open
 Bug Type:         IIS related
 Operating System: Windows Server 2003 x64 IIS6.0
 PHP Version:      5.3.0
 New Comment:

don't know if it helps, but here are some example details from
phpinfo();
_SERVER["APPL_MD_PATH"] /LM/W3SVC/1897346991/Root/webservices/Cacher
_SERVER["APPL_PHYSICAL_PATH"]   
\\ptlisi020dat\intraroot$\CIO\Webservices\Cacher\

I haven't tried using APPL_MD_PATH, but with APPL_PHYSICAL_PATH it
doesn't work.


Previous Comments:
------------------------------------------------------------------------

[2009-07-08 15:56:48] trutas dot ctx at gmail dot com

i have installed and configured as recommended at
http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/

can i further configure the FastCGI/PHP user anywhere else? 

IIS user is configured correctly (- home directory with Run as
trustedDomain\iisuser) and the destination folder has
trustedDomain\iisuser modify and everyone modify .

Regards,

------------------------------------------------------------------------

[2009-07-08 15:18:27] paj...@php.net

Be sure that you configured the user correctly or that the user has the
correct access.

------------------------------------------------------------------------

[2009-07-08 15:15:19] trutas dot ctx at gmail dot com

FastCGI

------------------------------------------------------------------------

[2009-07-08 15:13:50] trutas dot ctx at gmail dot com

Note:
test.php is located at \\share\intraroot$\site\

i've just tested it further and tryed a few workarounds:
- it doesn't work with relative path (since both files are within the
same share) "..\\folder\\file.txt";
- it doesn't work with dirname(__FILE__)."\\..\\folder\\file.txt";
- does not work with forward slashes //share/...
- the error is "permission denied" even if the destination folder
doesn't exist - i've found this because at a time i had wrongly typed
\\\\share\\intraroot$folder\\file.txt - that does not exist;

I'm guessing it has something to do with the home directory in IIS
being on a remote share - the production servers are clustered...

Every other technology (vbscript, .NET) on IIS accesses the shares
normally.

------------------------------------------------------------------------

[2009-07-08 15:03:05] paj...@php.net

How did you install php? FCGI or ISAPI?

------------------------------------------------------------------------

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/48852

-- 
Edit this bug report at http://bugs.php.net/?id=48852&edit=1

Reply via email to