RE: [PHP-WIN] Re: IIS/PHP w/ NTFS issue
| From: | Charles P. Killmer | Date: | Thu, 05 Dec 2002 17:58:16 +0000 |
| Subject: | RE: [PHP-WIN] Re: IIS/PHP w/ NTFS issue | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-17300@lists.php.net to get a copy of this message | ||
I believe it is the reverse of that. IWAN for Isapi and IUSR for cgi.
Correct me if I am wrong.
Christopher, in your email you wrote iwsr. Did you mean iusr or iwan?
Charles Killmer
-----Original Message-----
From: Luis Ferro [mailto:lferro@teladigital.net]
Sent: Thursday, December 05, 2002 11:53 AM
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] Re: IIS/PHP w/ NTFS issue
And i think that IIS uses the user IWAN for running CGIs instead of the
IUSR user...
Cheers...
Luis Ferro
Charles P. Killmer wrote:
>The problem when it was running as a cgi is the php.ini may not have
>been accessible by the user. Since it is in the winnt directory by
>default permission would only exist admins and everyone(Read) unless
you
>tightened it down. Also check any dll that may be needed.
>
>Charles Killmer
>PHP 4.2.3 IIS 5.0 Windows 2000 Server
>
>-----Original Message-----
>From: Christopher England [mailto:chenglan@indiana.edu]
>Sent: Thursday, December 05, 2002 11:42 AM
>To: php-windows@lists.php.net
>Subject: [PHP-WIN] Re: IIS/PHP w/ NTFS issue
>
>Ok, I may have fixed my own problem. I am posting so that others can
see
>how
>I did so.
>
>1. I changed from running as CGI Binary to ISAPI filter. I had tried
>this
>before but forgot something that time around.
>2. Allowed "EVERYONE" group to read/exec the C:\PHP folder (instead of
>just
>IWSR user).
>
>Hope this can help someone in the future.
>
>Chris
>
>"Christopher England" <chenglan@indiana.edu> wrote in message
>news:20021205164740.1851.qmail@pb1.pair.com...
>
>
>>I have IIS 5 with PHP 4.2.3 on a Windows 2000 server and I use NTFS to
>>control access to the directories. A user with read/execute (or even
>>
>>
>Full
>
>
>>Control in testing) can get to the directory fine, and .html files
>>
>>
>fine.
>But
>
>
>>.php files do not come up - access denied basically.
>>However, if a user is a member of the local Administrators group, they
>>
>>
>can
>
>
>>get in to the php files great and do everything needed with php/mysql
>>
>>
>and
>
>
>>all that.
>>Also, if I add a user to Full Control to the C:\PHP folder, I instead
>>
>>
>get
>an
>
>
>>HTTP 500 Internal Server error.
>>
>>Any ideas? This has been bothering me quite a bit for a while.
>>
>>Thanks in advance,
>>Chris
>>
>>
>>
>>
>
>
>
>
>
---
[This E-mail scanned for viruses by Declude Virus]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php