I'm a student. I am learning PHP and ASP simultaneuosly.
I want to have IIS and APACHE both running Simultanously. Is it possible.
Also, I don't wanna use IIS for PHP.
I also don't know any thing about APache installation and Configurations etc.'
Can any one solve my problem. Plz help me.
Also i wanna know about http://localhost
While testing ASP from IIS i use http://localhost/ as root.
And i have read apache use the same.
I am really confused.
Help me, Thax.
You can install both IIS and apache on same server. But you must use different port number for the two server. For example, use default port number 80 for IIS, but use 8080 for apache. If you use ssl, make it different too. (Default SSL port is 443, you may choose any you like, eg: 8443);
I don't understand port numbers, and how 2 change it.
I'm a kiddie in this field. Can ya tell me in details.
How 2 do it.
About port numbers
The port number is what the TCP (and UDP) protocol uses to determine which application to use for incoming data. There are standard ports given to various application protocols - 20/21 = FTP, 25 = SMTP, 110 = POP3, 80 = HTTP.
You can specify the port number to use in the URL, like this:
Since a request on port number 80 will always be directed to one single application when reaching your computer (one of your web servers), the other webserver app needs to use another number. Most people like to use 8080 for that purpose. Actually, 8080 is the officially registered portnumber for such use - more than one web server on a single computer.
How to do it
So, you'd let Apache use port 80, and set up IIS to use port 8080, and so you'd use:
http://localhost/index.html - to access index.html on Apache
http://localhost:8080/default.asp - to access default.asp on IIS.
... or vice versa.
As far as I recall (I don't have IIS installed at the moment), in IIS you get a chance to enter the port number in the wizard used for creating a new website. And it can be changed in the properties for the website too.
With Apache, you set it in the ServerName line (in httpd.conf), like:
And to answer the poll... For web development, I use PHP and ASP.NET (and Ruby or Perl at times) depending on what I need. I never ever use ASP. Ugly language, and useless compared to PHP. Thankfully, most clients are happy to have their site built with ASP.NET now
THANNXXXXXXXXXX I REALL NEEDED IT.
And about ASP.NET Its far more better than ASP.
I started reading a book on ASP.net and i found it is very much advanced.
But its not free. U need windwows xp for that.