Re: Re: IIS/PHP w/ NTFS issue

From: Date: Thu, 05 Dec 2002 17:53:21 +0000
Subject: Re: Re: IIS/PHP w/ NTFS issue
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-17299@lists.php.net to get a copy of this message
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]

« previous php.windows (#17299) next »