Solved

Not allow php scripts to run on 2003 server

Posted on 2007-11-20
3
168 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
Learn about cloud computing and its benefits for small business owners.

734 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