Forum Moderators: phranque

Message Too Old, No Replies

ASP and PHP running on the same webserver?

         

hulahoop

5:23 am on Nov 16, 2004 (gmt 0)

10+ Year Member



Hello,

I have a web server currently running a site on ASP and Access Database.

I would like to know if I can run another site using PHP with MSSQL on the same web server?

Thank you.

bill

6:07 am on Nov 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Welcome to WebmasterWorld hulahoop.

Sure you can. I've got an old NT4 server that runs a mostly ASP site with Access databases, and it also runs a forum that is powered by PHP & MySQL. I haven't run into any conflicts at all, and this configuration has been running smoothly for 4+ years now.

hulahoop

6:37 am on Nov 16, 2004 (gmt 0)

10+ Year Member



Thank you Bill.
Good to know that it will work together.
That will save me a lot instead of getting another hosing package.

txbakers

11:52 am on Nov 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've also been doing it for years without a problem. For a while I even had a JSP engine on there and was running three languages on the same machine!

morpheus83

7:05 pm on Nov 17, 2004 (gmt 0)

10+ Year Member Top Contributors Of The Month



I recently installed MySQL on my computer running MSSQL server. After 30 - 60 mins SQL server hangs up it consumes 80 % resources. I have to close it and start again. Is it normal?

txbakers

2:52 pm on Nov 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No that's not normal. Something in your queries are causing the hangup.

Carefully analyze your SQL statements and be sure you are closing your connections and killing your connection objects.

hulahoop

3:26 pm on Nov 18, 2004 (gmt 0)

10+ Year Member



Thank you for confirming that there is no problem running 2 or more languages and databases on the same server. The next question is...

DOes it slow down the server in anyway?

Also..(something out of the topic)...what are the differences between using Asp and PHP for your web site?

txbakers

6:01 pm on Nov 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It shouldn't slow down your sever running both together.

As to the differences....well...that could be a loaded question.

The reason to choose a language is subjective. What are you comfortable with? What features/functions do you need? What is your hosting environment? Who will be maintaining it after you?

So many variables.

Basically, all do the same thing - produce HTML pages whose content can be dynamic either through includes or database.

It really comes down to which you like better and which serves your needs. I don't recall seeing a chart/comparison between the major scripting languages, but perhaps someone can post a link.