Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just want to know that ,shall we run the php script on .net server or to run a php script on a .net server what configuration we required?

Suppose i have a website developed in php environment and running successfully on my local-host now what i want ,i want to upload this site on server which supports .net scripts ,so can you guys tell me that what configuration(like:Apache ,MySQL etc.) should be there on .net server to run a php script,is it possible to run a php & .net files on same server?

share|improve this question

closed as not a real question by Michael Hampton, Khaled, Sven, Chris McKeown, Brent Pabst Sep 12 '12 at 12:03

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Please add some more detail about what php script? what server? you mention barely nothing useful. – Frederik Nielsen Sep 12 '12 at 11:55
@FrederikNielsen see my updated question. – Harshal Mahajan Sep 12 '12 at 11:59
@HarshalMahajan is this a 3rd-party, shared hosting plan you're using? – gravyface Sep 12 '12 at 12:02
@gravyface ,no i am using dedicated server – Harshal Mahajan Sep 12 '12 at 12:04
@HarshalMahajan Amazingly, in order to interpret PHP on a Windows box (i.e. serve PHP via IIS), you need to.... install PHP! – Chris McKeown Sep 12 '12 at 12:09
up vote 1 down vote accepted

You don't provide any sort of system requirements for your PHP application. The best I can tell you is YES you can run PHP on IIS.

share|improve this answer
Thanks for reply Brent ,but can you please tell me about iis? how is this possible? – Harshal Mahajan Sep 12 '12 at 12:07
No I can't. You provide no background or information about your app, no system requirements and failed to even attempt to read any of the information from the website I provided to you. Do your research and homework first, then post a new question with any issues or problems you run into. – Brent Pabst Sep 12 '12 at 12:09
hmm..great Thanks for help yet. – Harshal Mahajan Sep 12 '12 at 12:10

PHP is available as an extension for IIS, so you can certainly run both PHP and .NET code on the same webserver. Take a look at for details.

Unfortunately as a linux admin I'm not familiar with the setup myself.

share|improve this answer

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