Really stuck
Moderator: General Moderators
Really stuck
I am following a Lynda.com training course that I have been given. I have downloaded and installed wamp, as per the tutorial. When I type http://localhost/ , I am supposed to get a page regarding Apache. What I get is a logo saying welcome to IIS. If I try to ignore it and carry on to the next stage, it just goes to an error page. I have no clue what to do.
One thing is, the tutorial refers to Wamp 1.5 etc. whereas the Wamp I downloaded was 2.0 etc. The menus are slightly different but I have completed everything I was asked to.
I cannot progress any further.
Cheers
Hob
One thing is, the tutorial refers to Wamp 1.5 etc. whereas the Wamp I downloaded was 2.0 etc. The menus are slightly different but I have completed everything I was asked to.
I cannot progress any further.
Cheers
Hob
Re: Really stuck
Apparently your computer is also running IIS (microsoft's web server). You can't run apache and IIS on the same machine unless you configure one of them to run on a tcp port other than port 80.
Re: Really stuck
As Doug said, only one web server can use the same port number at the same time. What you do to avoid this depends on what needs you have. If you are sure that you don't need to use IIS, you could remove it from your startup services (open Start - Run and enter 'services.msc' and look for IIS and disable it) or even uninstall IIS if you have no plans to use it. If you do need to run both web servers, you would need to set up one of them to run on port 8080 or something, in its configuration file.
Re: Really stuck
Thank you guys, that seems a feasibility for me to succeed with. I can't remember ever configuring IIS, but now I know I will deal with it.
Cheers
Hob.
Cheers
Hob.
Re: Really stuck
Just found out that when disabling the IIS file in services.msc, a tooltip comes up saying that SMTP etc. will not work if I disable it?
Re: Really stuck
I'm not very familiar with running IIS, but I'm rather surprised that SMTP (the Simple Mail Transfer Protocol) would be associated with it. In any case, you're very unlikely to be running SMTP anyway. Normally SMTP is located on your hosting service or ISP's servers. Can you show us the entire tooltip?Hobittual wrote:Just found out that when disabling the IIS file in services.msc, a tooltip comes up saying that SMTP etc. will not work if I disable it?
Re: Really stuck
If you check the control panel IIS applet, it seems to me you can stop the web server part of IIS but leave the SMTP/POP servers running (instead of just stopping the WWW service in the services management console). But I haven't used IIS SMTP in years, I may be wrong 
Re: Really stuck
Nothing seems to have gone wrong so far with my mail. What I have now found is that I have iis 6 and iis 7.5. I have uninstalled iis 7.5 with revo, although it would not allow me to clean left over files, I thought it was gone. I tried http://localhost/ and it came back up again, that is when I found iis 6. I think I remember installing iis 7.5 but not iis 6. All I can find now are two entries in administrative tools linking to this:
What I am supposed to do now I have no idea. I have nothing in add or remove programs, or Revo uninstaller to uninstall these buggers. Can I delete all the entries in the above image, or would that be dumb?
Cheers
Hob
What I am supposed to do now I have no idea. I have nothing in add or remove programs, or Revo uninstaller to uninstall these buggers. Can I delete all the entries in the above image, or would that be dumb?Cheers
Hob
Re: Really stuck
First things first: you have to decide whether you want to completely uninstall all versions of IIS. I can't advise you on this, it depends on what you want to do in the future (of course, you can always download the Express version and reinstall it). If you decide that you do want to uninstall IIS, you should do it by using Add/Remove Software, not by deleting individual files, because there are countless entries in your Registry that need to be deleted or modified, which is what the Add/Remove Software process is supposed to do. Assuming that you can find both IIS 6 and IIS 7.5 in your Add/Remove Software listing (maybe 7.5 is already gone?), just uninstall (remove) it. If you can't find it, try using Google with search terms like iis uninstall and see if you can find some discussion of this. Remember, you're almost certainly not the first person who has ever encountered this problem!
Have you already installed Apache, PHP, and MySQL? If not, I recommend that you consider one of the bundled install packages that install all 3 in one operation, including the necessary configuration, which could save you some time and complications. The 2 popular ones are WAMP (Windows Apache MySQL PHP) and XAMPP.
[Edit: Here is a link to a discussion you should read, concerning IIS and Windows XP: http://forums.iis.net/t/1153455.aspx]
Have you already installed Apache, PHP, and MySQL? If not, I recommend that you consider one of the bundled install packages that install all 3 in one operation, including the necessary configuration, which could save you some time and complications. The 2 popular ones are WAMP (Windows Apache MySQL PHP) and XAMPP.
[Edit: Here is a link to a discussion you should read, concerning IIS and Windows XP: http://forums.iis.net/t/1153455.aspx]
Last edited by califdon on Sun Aug 07, 2011 12:07 pm, edited 1 time in total.
Reason: To add a reference
Reason: To add a reference
Re: Really stuck
You've done something wrong. You can't have multiple versions of IIS on the same computer, IIS is an integrated part of the windows OS.
IIS 4.0 -> Windows NT 4.0
IIS 5.0 -> Windows 2000 Server
IIS 5.1 -> Windows XP (Professional only)
IIS 6.0 -> Windows 2003 Server (and I read somewhere XP 64 bit)
IIS 7.0 -> Vista Professional / W2008
IIS 7.5 -> Windows 7 / W2008r2
If you have other versions of IIS than what's listed someone has been trying to put a square peg in a round hole, and it will likely make IIS not work.
You install or uninstall through the "add/remove windows components" part of add-remove programs (or however it's worded in newer windows OS).
IIS 4.0 -> Windows NT 4.0
IIS 5.0 -> Windows 2000 Server
IIS 5.1 -> Windows XP (Professional only)
IIS 6.0 -> Windows 2003 Server (and I read somewhere XP 64 bit)
IIS 7.0 -> Vista Professional / W2008
IIS 7.5 -> Windows 7 / W2008r2
If you have other versions of IIS than what's listed someone has been trying to put a square peg in a round hole, and it will likely make IIS not work.
You install or uninstall through the "add/remove windows components" part of add-remove programs (or however it's worded in newer windows OS).
Re: Really stuck
I was doing a little more reading, apparently Microsoft has released IIS 7.5 Express as a stand-alone developer IIS. And IIS Express does run on other OS than Win7 or W2008r2. This must have been a fairly recent addition to the IIS line, I've been using IIS since IIS 1.0 (yes, there was one!) and it's the first I've heard of a stand-alone IIS installer. I'm glad I read this topic!
http://learn.iis.net/page.aspx/901/iis-express-faq/
http://learn.iis.net/page.aspx/901/iis-express-faq/
Re: Really stuck
OK. Well I already have WAMP, that is the starting point of my issue.califdon wrote:First things first: you have to decide whether you want to completely uninstall all versions of IIS. I can't advise you on this, it depends on what you want to do in the future (of course, you can always download the Express version and reinstall it). If you decide that you do want to uninstall IIS, you should do it by using Add/Remove Software, not by deleting individual files, because there are countless entries in your Registry that need to be deleted or modified, which is what the Add/Remove Software process is supposed to do. Assuming that you can find both IIS 6 and IIS 7.5 in your Add/Remove Software listing (maybe 7.5 is already gone?), just uninstall (remove) it. If you can't find it, try using Google with search terms like iis uninstall and see if you can find some discussion of this. Remember, you're almost certainly not the first person who has ever encountered this problem!
Have you already installed Apache, PHP, and MySQL? If not, I recommend that you consider one of the bundled install packages that install all 3 in one operation, including the necessary configuration, which could save you some time and complications. The 2 popular ones are WAMP (Windows Apache MySQL PHP) and XAMPP.
[Edit: Here is a link to a discussion you should read, concerning IIS and Windows XP: http://forums.iis.net/t/1153455.aspx]
I have tried the iis uninstall search, I found the Microsoft instructions. I diligently did what it said but nothing has changed. Every time I enter h t t p ://localhost/ I get:
I click on that, I get:
Seeing as no file or folder entitled "iis anything" is present in add or remove programs or either of my uninstallers, I cannot do anything else. The "services.msc" route is now exhausted as the entry Microsoft explained I should edit has now disappeared(I was not happy with the accuracy of the instructions with what was present for me to edit), So now I am utterly baffled with all this.
Sorry to trouble you all, but I feel like reinstalling Vista at this point.
Cheers
Hob
Re: Really stuck
Vista, huh? Hmm. One more reason to hate Microsoft. As Doug G reminded me, you won't find IIS in the Add/Remove Programs because it is considered a component of Windows itself, so you have to look in Add/Remove Windows Components, or (in Windows 7) it is to be found in Start->Control Panel->Programs & Features, then click Turn Windows Features On or Off. Vista may be different.
About that IIS 7 welcome screen, that is, of course, just an HTML page, so it could be served by either web server, but what is critically important is that every web server has a "Document Root", which is a directory within which ALL HTML or PHP pages must be located, or subdirectories of the Document Root. For security reasons, a web server cannot "see" anything outside its Document Root, in other parts of your computer's file system. This is configured in the file named httpd.conf (for Apache). The Document Root for your installed IIS web server is unlikely to be the same as the one configured for your Apache web server, so I'm assuming that when you view that IIS 7 welcome screen, it is probably being served by IIS, but just be aware that in the unlikely case where Apache's httpd.conf points to that same directory as Document Root, Apache would just as happily serve that same file! By the way, the normal default file to be served from any directory when no filename is given is index.htm or index.html, although again, this is controlled by httpd.conf, so it can be changed. Just to clarify, when you enter simply localhost in your browser's address bar, you are asking for the default file in the Document Root directory of the server. If you want to view a different file in the Document Root, you could enter localhost/myfile.html, or if you wanted a file in a subdirectory of the Document Root, you could enter something like localhost/personal/myfile.html, where personal is the name of a subdirectory under the Document Root.
About that IIS 7 welcome screen, that is, of course, just an HTML page, so it could be served by either web server, but what is critically important is that every web server has a "Document Root", which is a directory within which ALL HTML or PHP pages must be located, or subdirectories of the Document Root. For security reasons, a web server cannot "see" anything outside its Document Root, in other parts of your computer's file system. This is configured in the file named httpd.conf (for Apache). The Document Root for your installed IIS web server is unlikely to be the same as the one configured for your Apache web server, so I'm assuming that when you view that IIS 7 welcome screen, it is probably being served by IIS, but just be aware that in the unlikely case where Apache's httpd.conf points to that same directory as Document Root, Apache would just as happily serve that same file! By the way, the normal default file to be served from any directory when no filename is given is index.htm or index.html, although again, this is controlled by httpd.conf, so it can be changed. Just to clarify, when you enter simply localhost in your browser's address bar, you are asking for the default file in the Document Root directory of the server. If you want to view a different file in the Document Root, you could enter localhost/myfile.html, or if you wanted a file in a subdirectory of the Document Root, you could enter something like localhost/personal/myfile.html, where personal is the name of a subdirectory under the Document Root.
Re: Really stuck
I will address all the points you have made.
Thank you kindly.
Hob
Thank you kindly.
Hob
Re: Really stuck
I am at the point now where I do not know what question to ask next. I have tried everything I have been told to do but nothing has changed. I seem to believe it is that Apache has not started, that's how it looks when I follow the Lynda course. I have looked for http.conf but I get nothing.
Stumped
Hob
Stumped
Hob