Solved

Not allow php scripts to run on 2003 server

Posted on 2007-11-20
3
166 Views
Last Modified: 2010-04-21
How do I not allow any *.php scripts the ability to run on a windows 2003 server.
I would like to deny permission for any php script to run globally.
0
Comment
Question by:mike99c
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
StuFox100 earned 500 total points
ID: 20326829
HI Mike

I am not 100% sure what you mean?

php will only run through IIS if you have installed the PHP components.

To remove from IIS open Start -> Control Panel -> Administrative Tools -> Internet Information Services (IIS) Manager
- Expand the local computer in the left pane
- Right-click on "Web Sites" in the left pane, then click "Properties" in the menu that pops up
- Flip to the "Home Directory" tab
- Click "Configuration"
- Flip to the "Mappings" tab
- Remove all references to PHP.

Cheers
Stu
0
 

Author Comment

by:mike99c
ID: 20329975
Hi thanks for that
What I want to do is to stop any of our hosted sites running php (malicious) scripts.
So what you are suggesting will fix this?
Cheers
Mike
0
 

Author Closing Comment

by:mike99c
ID: 31410216
Thanks, for that. Cheers
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AD Migration / Upgrade 4 56
Psexec - a script to use Psexec to copy a folder from one server to multiple PC's? 7 125
Moving Files servers to DFS 11 57
Dentrix G4 1 74
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question