Welcome to WebmasterWorld Guest from

Forum Moderators: ocean10000

Message Too Old, No Replies

how do I do this on a windows server

I searched, but can't find. Thanks for the easy answer. :)



10:49 pm on Oct 30, 2006 (gmt 0)

10+ Year Member

AddHandler application/x-httpd-php .html .htm

That goes in the .htaccess on a linux machine. What to do with a windows server?

Edit - I would have made the thread title and description a little better, but it's too late to edit that. Help appreciated.


12:10 am on Oct 31, 2006 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

The PHP manual pages for Installation on Windows systems has a page that explains how to setup your Microsoft IIS / PWS [php.net] server to parse PHP files.


3:29 am on Oct 31, 2006 (gmt 0)

10+ Year Member

No need to make fun of me. :)

If you aren't making fun of me, I'm not sure what you're trying to say. I can't find the word "parse" there anywhere.


6:38 am on Oct 31, 2006 (gmt 0)

10+ Year Member

He wasnt making fun of you :) Coopster was just pointing out that the PHP manual has step by step instructions on how to setup a Windows box to recognize and run (parse) PHP scripts.

I setup PHP on windows server a few times (dont really like running it on Windows,but had to) and its not hard if you follow the instructions in the manual. If I remember correctly, there is even an installation .exe to do a lot of it for you but I could be wrong.


1:54 am on Nov 1, 2006 (gmt 0)

10+ Year Member

I know how to find the php docs, but I'm not trying to be a windows sysadmin. :) It would be a terrible use of my time to get *that* cozy in that area.

With linux, using htaccess in that manner is a standard thing an average shared-hosting webmaster can do. I'm wondering if there is something similar for a webmaster who uses a windows host.

I have a product that I'd like to make available for windows server users (in addition to linux users). If it requires that they contact their sysadmin, then I'd probably not offer it so I wouldn't have to put up with the support issues.

So, assuming php is already installed, is there some sort of equivalent? Assume I'm an inexperienced wemaster. (true)

I think I was a little surprised that this question hasn't been asked to death by people who need to do the same thing with their windows host for whatever reason. (and more easily answered)

Does it really require an in-depth knowledge of windows php installation? Or are there ways that a typical webmaster can make that happen in a shared windows hosting environment?


9:46 am on Nov 1, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

you have two choices,

write a little one liner script or use the click and point gui.

if you are going to offer a product based on a technology, then you ought to be at least familiar with the underlying operations.


Featured Threads

Hot Threads This Week

Hot Threads This Month