1

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.

2 Answers 2

2

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.

Sign up to request clarification or add additional context in comments.

3 Comments

So basically there shouldn't be an issue?
I just updated my answer, there is some setup involved. So either you need to do it, or they need to set it up. I know some companies are very strict about what can be installed on servers, and they maybe one of those companies. Just be sure they know what they're going to have to do, and make sure they're ok with it.
Definitely possible, I once (as an experiment I hasten to add) even got .asp suffixed addresses to pass the php parser as well as the asp - having said that it was "classic asp".
2

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

3 Comments

I didn't know apache could run asp?
yes you can run asp on apache. have a look at the link apache-asp.org
It's also possible to run ASP.NET applications though Apache, on Linux, mono-project.com/ASP.NET With FastCGI, the possibilities are really endless.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.