PHPBB on Windows Server 2008 with IIS7...

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
tsmvp
Registered User
Posts: 4
Joined: Wed May 27, 2009 1:06 am

PHPBB on Windows Server 2008 with IIS7...

Post by tsmvp »

Support Request Template
What version of phpBB are you using? phpBB 3.0.4
What is your board's URL? Not setup yet
Who do you host your board with? Own server
How did you install your board? I used the download package from phpBB.com
Is your board a fresh install or a conversion? Fresh Install
Do you have any MODs installed? No
Please describe your problem.

Fresh install. Server is Windows Server 2008 Web Server. PHP (latest version as of May, 26th, 2009) installed and apparently working. The issue is when I start the install, the folders CACHE, FILES, STORE are always listed as UNWRITABLE. Checked permissions (IIS_USR**** has full rights) and it seems to be all correct. The permissions on folders under IIS or Server 2008 for that matter are shown as read-only if you open explorer and check the folder properties. But it says it is for folders only and that is indeed the case as I can create any files under them, modify, etc.
No matter what I do the installer cannot continue. Again, the folder permissions do seem to be just fine. I am completely lost!

Thanks for any ideas guys!

CR
What styles do you currently have installed? No answer given
What language(s) is your board currently using? English
Which database type/version are you using? MySQL 5
What is your level of experience? New to PHP and phpBB
Generated by SRT Generator ($Rev: 2968 $)
narqelion
I've Been Banned!
Posts: 7235
Joined: Sat Dec 13, 2008 5:00 pm
Contact:

Re: PHPBB on Windows Server 2008 with IIS7...

Post by narqelion »

IIS7 is a little different on the anonymous web user group permissions. Have you assigned the NetworkService account 'Full Control' of those folders?
User avatar
Sajaki
Registered User
Posts: 1390
Joined: Mon Mar 02, 2009 1:41 pm
Location: Amsterdam
Contact:

Re: PHPBB on Windows Server 2008 with IIS7...

Post by Sajaki »

Did you setup IIS7 with php as described in here ?
http://learn.iis.net/page.aspx/539/veri ... nce---php/
http://learn.iis.net/page.aspx/246/usin ... on-iis-70/ ?
you may also find this http://learn.iis.net/page.aspx/271/manu ... ns-on-iis/ interesting, although phpbb isnt on the list (really should be)
tsmvp
Registered User
Posts: 4
Joined: Wed May 27, 2009 1:06 am

Re: PHPBB on Windows Server 2008 with IIS7...

Post by tsmvp »

narqelion wrote:IIS7 is a little different on the anonymous web user group permissions. Have you assigned the NetworkService account 'Full Control' of those folders?
Such account does not exist at all on Windows Server 2008 Web Edition. It is definitely not there and as I mentioned this is a fresh install. :shock:

CR
tsmvp
Registered User
Posts: 4
Joined: Wed May 27, 2009 1:06 am

Re: PHPBB on Windows Server 2008 with IIS7...

Post by tsmvp »

Sajaki wrote:Did you setup IIS7 with php as described in here ?
http://learn.iis.net/page.aspx/539/veri ... nce---php/
http://learn.iis.net/page.aspx/246/usin ... on-iis-70/ ?
you may also find this http://learn.iis.net/page.aspx/271/manu ... ns-on-iis/ interesting, although phpbb isnt on the list (really should be)
Yes, just went through the document and there were some minor things I had to change on PHP.INI. Everything else seems exactly like what is in the link you sent me and PHP seems to be working just fine. But PHPBB refuses to install, always complaining about these three folders being unwritable.
Why it does that is beyond me. As I said I can definitely go in the folder and create files, no problem. I think PHPBB is trying to read the folder permissions somehow instead of actually trying to write a file in the folder. If that is the case it will definitely not work on IIS7 on Server 2008 Web Edition.
I patched the box using the patch described on the article you posted the URL and no change at all.
I think we found a bug on PHPBB. :cry:

Any other ideas?

CR
ToonArmy
Former Team Member
Posts: 4608
Joined: Sat Mar 06, 2004 5:29 pm
Location: Worcestershire, UK
Name: Chris Smith
Contact:

Re: PHPBB on Windows Server 2008 with IIS7...

Post by ToonArmy »

phpBB tests the folders by trying to actually write to them, so if it fails there is a problem. It doesn't attempt to read permissions.
Chris SmithGitHub
User avatar
ric323
Former Team Member
Posts: 22910
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: PHPBB on Windows Server 2008 with IIS7...

Post by ric323 »

tsmvp wrote: As I said I can definitely go in the folder and create files, no problem.
But you are only testing your own permissions, not those of your web server software when you do this.
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions
tsmvp
Registered User
Posts: 4
Joined: Wed May 27, 2009 1:06 am

Re: PHPBB on Windows Server 2008 with IIS7...

Post by tsmvp »

I got it. For some reason if you have the local Users group (the group Users) with no write rights, it fails. Why PHPBB relies on the local Users group I have no idea. :shock:
As soon as I gave that group permissions, it worked. :D
Now gotta get it up and running.

Thanks all. You guys are great!

CR
User avatar
ric323
Former Team Member
Posts: 22910
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: PHPBB on Windows Server 2008 with IIS7...

Post by ric323 »

tsmvp wrote:...Why PHPBB relies on the local Users group I have no idea.
...
It is not phpBB which determines where the permissions come from, it is your web server software.
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions
Locked

Return to “[3.0.x] Support Forum”