Sam
Sam

Reputation: 97

Run PHP on an asp.net server

I'm making a small questionnaire for a client and I had planned on using PHP. However the client has said that their servers are in asp.net so the PHP code won't work.

I've never came across this issue before and have never had an issue with PHP running on a web server. Is the client just mis-informed or will PHP not work on his server at all?

Sadly I don't have access to their server to test anything.

Upvotes: 1

Views: 2876

Answers (2)

Ibrahim Azhar Armar
Ibrahim Azhar Armar

Reputation: 25735

I suppose what your client meant to say was there servers only support typical windows environment that doesn't comes with pre-installed PHP. to understand it more clearly let me put it this way

PHP and ASP are Server side scripting language, and IIS or Apache are Web Servers that understands your request and acts accordingly. a web server and a Server side scripting language are totally two different thing, although mostly people use Apache with PHP and, IIS with ASP doesn't necessarily means the web servers are limited to one language, hence Apache can be used with ASP and IIS with PHP it is the matter of your choice.

if you would like to run PHP in your windows server here is what you should be doing. how to install php in iis 7

Upvotes: 2

Rex Morgan
Rex Morgan

Reputation: 3029

ASP.NET apps are typically hosted by IIS on a windows server. IIS supports running PHP applications.

Also, if it's IIS6, that's supported as well.

You may have problems if you can't get to the server and set it up, though.

Upvotes: 2

Related Questions