ID:               13292
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Documentation problem
 Operating System: Windows NT/2000
 PHP Version:      4.1.1
 New Comment:

Addition to my previous post:

If you use Apache and PHP as CGI under Windows and install it as a
service, you have to make it run under a domain account to let PHP
access remote shares (check in control panel -> services). Usually it's
run under the local system account.

I think this is also valid if you run PHP as an apache module but I
didn't test.

Maybe this should also go into the documentation.

Christoph


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

[2002-04-30 07:40:57] [EMAIL PROTECTED]

Sounds reasonable as this kind of things keep coming more often
recently. Marking as documentation problem

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

[2002-04-30 07:29:56] [EMAIL PROTECTED]

In IIS you can check the option 'check that file exists' in the IIS
Admin interface on the panel where you enter the file extensions (.php
-> c:\php\php.exe). Then IIS will check the permissions and open the
file for php.

The anonymous webserver account (usually IUSER_MACHINENAME) must have
appropriate permissions on the remote share. If not IIS will check if
the remote user is a domain user with permission to access the share,
but this only works if the remote user is in the same or in a trusted
domain AND uses MSIE AND NTLM authentication is enabled in IIS.

PHP as CGI in IIS starts on a local account and cannot access remote
shares itself.

I've been asked questions about this issue quite often, maybe the
correct settings should be explained in the manual.

Christoph

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

[2002-04-29 15:45:09] [EMAIL PROTECTED]

1. Update to 4.2.0
2. If it's permissions problem -> Not bug in PHP.


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

[2002-04-29 15:44:59] [EMAIL PROTECTED]

1. Update to 4.2.0
2. If it's permissions problem -> Not bug in PHP.


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

[2002-04-29 11:22:31] [EMAIL PROTECTED]

Yes, this functionality are ok.
But only when the PC is trusted in a domäne and you are using a
domain-user.

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

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

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

Reply via email to