IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 4th, 2005, 01:56 PM
icargill icargill is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Location: Leatherhead, UK
Posts: 11 icargill User rank is Sergeant (500 - 2000 Reputation Level)icargill User rank is Sergeant (500 - 2000 Reputation Level)icargill User rank is Sergeant (500 - 2000 Reputation Level)icargill User rank is Sergeant (500 - 2000 Reputation Level)icargill User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 h 7 m 43 sec
Reputation Power: 0
Unhappy Problem with IIS and PHP files

I'm having a problem with phpBB Forum software, but I think the problem is with IIS config for php, rather that phpBB itself.

I have already a copy of phpBB running, but wanted to split the Forums into two separate 'boards'.

So I created a folders

D:\WebSites\dualforum\forum1 and
D:\WebSites\dualforum\forum2

I configured IIS for a new website DualTest, pointing to D:\WebSites\dualforum\ as the Home Directory.

I then installed all the phpBB files as per the first BB and tried to set them up, but I couldn't get the browser to find index.php ("The page cannot be found").

So I created some test.htm files with just the name of the folder and put a test.htm and a test.php (containing just <? phpinfo(); ?>) in various folders. Then tried to access them.

If I browse for test.htm or test.php in the root folder (e.g. my.domain.com/test.htm), they both work fine. However if I browse for them in my.domain.com/forum1 or my.domain.com/forum2, it finds the .htm OK, put says it can't find the .php!

Now I'm confused. PHP must be working or it wouldn't work with the root test.php file. IIS must be finding the forum1/2 folders OK or it wouldn't find the test.htm files. So what might I be doing wrong that is preventing it from working with PHP in the subfolders??

Some sort of php.ini setting that I am missing??
UPDATE: I'm beginning to suspect that the culprit is the doc_root setting in PHP.INI! But I'm not sure exactly how?

Reply With Quote
  #2  
Old July 5th, 2005, 11:36 AM
bdreyer's Avatar
bdreyer bdreyer is offline
His name is Robert Paulson!
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Feb 2005
Location: Paper Street
Posts: 2,692 bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level)bdreyer User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 3 Days 4 h 10 m 43 sec
Reputation Power: 128
I run several php pages on my single web server... I don't have doc_root set, and have the cgi.redirect set to 0...

Are you allowing scripts to run in your IIS settings for the new site? (on the home directory tab for you website's properties, make sure that scripts are allowed to execute)...

Another thing is to make sure your php extensions are valid in your new site (i.e. did you define them at the root level, or on the site level?)
__________________
Environmental LIMS
What the hell is all this LIMS st*ff about?
---------------------------------------
PHP Pagination Function
PHP Drop Down Menus

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Problem with IIS and PHP files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT