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:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old January 10th, 2005, 01:28 AM
Curry04 Curry04 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 20 Curry04 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 37 sec
Reputation Power: 0
Win server 2003, IIS 6.0 and PHP 5 Security issue.

Hello everyone,

I've been searching like crazy to find the info I need but have found nothing that is helping me.

I recently setup IIS 6.0 on server 2003. Thats fine no problems there. I can view my webpages without a problem.

I tried to setup PHP and i was getting a 404 error before but followed a few tutorials, Im still not sure if PHP works now becuase everytime i try to access a PHP file or DIR with PHP files in them I cant get to it becuase i get the windows authentication box asking me for a user name and PW.

I set the permissions to allow read and execute on the DIR and on IIS for the entire DIR just to see if it would work and it doesnt! I have no idea what to do. I can view all my other DIRS and webpages without any problems. I did allow everything in the management console and I added the .php extension as well. All my webpages work perfectly just the DIR's with PHP or PHP files themselves give me the problems.

Also. In the ISAPI filters when i added the php5isapi.dll and set the filter to "PHP" It shows me a red arrow pointing down and for priority it says *unknown*

One last bit of info. In my event viewer under application i get these two errors.

"Could not load all ISAPI filters for site/service. Therefore startup aborted."

and

"The HTTP Filter DLL K:\php\php5isapi.dll failed to load. The data is the error."

my OS is installed on drive k:\ which is my default as well.

If anyone can walk me through this or help me out i would reallly appreciate it!

Thanks in advanced I know its alot but whatever little you can help me with it would be great.

Reply With Quote
  #2  
Old January 10th, 2005, 05:02 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,679 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 14 h 50 m 53 sec
Reputation Power: 688
One possibility is that the IIS user account doesn't have sufficient permissions to the php files & folders, wherever you installed them. Normally IIS uses the IUSR_computername account, make sure that user can get to all the php files and directories.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #3  
Old January 10th, 2005, 05:05 AM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 1 Week 6 Days 23 h 29 m 46 sec
Reputation Power: 92
Try using the CGI service for now instead of the ISAPI filter. So in the IIS manager go to the ISAPI Filters tab and remove the php one. Then go to the Home Directory tab and click the Configuration button. Then create (or edit) the PHP application extension mapping, so that you have the .php extension and your executable is C:\PHP\php-cgi.exe (or wherever you installed PHP to). Then make sure the IUSR_computername account has read permissions on the C:\PHP folder and you should be fine.

[edit]
Doug's post wasn't there when I responded
__________________
- Edwin -

The General Rules Thread | The General FAQ Thread

Reply With Quote
  #4  
Old January 10th, 2005, 10:12 AM
Curry04 Curry04 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 20 Curry04 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 37 sec
Reputation Power: 0
I guess you guys were right. I just had to change the permissions on the folder. I can't believe I didnt see that.
Thanks.

I have one more questions.

I created a form using frontpage. I have server extensions installed. How would I go about setting up the form properties and server extensions. I just want the data to be saved in a file. Is there a tutorial I can follow?

Thanks again.

Reply With Quote
  #5  
Old January 10th, 2005, 07:09 PM
Curry04 Curry04 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 20 Curry04 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 37 sec
Reputation Power: 0
You can actually forget this, I reinstalled PHP 4.3 and then i used a PHP Form handler to take care of the form processing and it works great. Thanks!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Win server 2003, IIS 6.0 and PHP 5 Security issue.


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 6 hosted by Hostway