Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

On Apache server's I can create a .htaccess file with the following code.

AddHandler application/x-httpd-php5 .php

Is there something similar that I can do for a windows server or does php5 need to be enabled site wide?

share|improve this question

1 Answer 1

PHP can be disabled on an individual site via the Handler Mappings for a given site. Information on setting up the handler mapping can be found here, but if it is already enabled on a site, you only have to disable it on the Handler Mapping settings.

You may also want to have a look at the PHP Manaager for IIS on Codeplex.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.