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.
Scam Warning

PHPBB on Windows Server 2008 with IIS7...

Postby tsmvp » Wed May 27, 2009 1:09 am

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 $)
tsmvp
Registered User
 
Posts: 4
Joined: Wed May 27, 2009 1:06 am

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

Postby narqelion » Wed May 27, 2009 1:26 am

IIS7 is a little different on the anonymous web user group permissions. Have you assigned the NetworkService account 'Full Control' of those folders?
I offer free private support, you can contact me directly via email.
Finally, the Definitive American English Language Pack for phpBB3 - Available December 2010
“She who angers you conquers you." - Elizabeth Kenny :D
# of Styles in Style Database = 165 169 / # of GPL Styles in Style Database = 0
User avatar
narqelion
I've Been Banned!
 
Posts: 7235
Joined: Sat Dec 13, 2008 5:00 pm

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

Postby Sajaki » Wed May 27, 2009 8:45 am

Compatibility means deliberately repeating other people's mistakes
Sajaki
Registered User
 
Posts: 934
Joined: Mon Mar 02, 2009 1:41 pm

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

Postby tsmvp » Wed May 27, 2009 12:55 pm

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...

Postby tsmvp » Wed May 27, 2009 12:59 pm


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
tsmvp
Registered User
 
Posts: 4
Joined: Wed May 27, 2009 1:06 am

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

Postby ToonArmy » Wed May 27, 2009 1:06 pm

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 SmithBlogGitHub
Image
In a foreign field he lay. Lonely soldier unknown grave. On his dying words he prays. Tell the world of Paschendale.
User avatar
ToonArmy
Former Team Member
 
Posts: 4607
Joined: Sat Mar 06, 2004 5:29 pm
Location: Worcestershire, UK
Name: Chris Smith

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

Postby ric323 » Wed May 27, 2009 1:11 pm

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
User avatar
ric323
Former Team Member
 
Posts: 22903
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric

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

Postby tsmvp » Wed May 27, 2009 1:25 pm

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
tsmvp
Registered User
 
Posts: 4
Joined: Wed May 27, 2009 1:06 am

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

Postby ric323 » Wed May 27, 2009 1:29 pm

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
User avatar
ric323
Former Team Member
 
Posts: 22903
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric


Return to 3.0.x Support Forum

Who is online

Users browsing this forum: Google [Bot], Mick from Ausmini, stevemaury, Yandex [Bot] and 93 guests