Cannot install XAMPP as something already existsSettings to send an email from localhost for PHP code in...

What makes papers publishable in top-tier journals?

Equivalent of "illegal" for violating civil law

What's after EXPSPACE?

Boss asked me to sign a resignation paper without a date on it along with my new contract

If angels and devils are the same species, why would their mortal offspring appear physically different?

I have trouble understanding this fallacy: "If A, then B. Therefore if not-B, then not-A."

The No-Straight Maze

Why does 0.-5 evaluate to -5?

Stuck on a Geometry Puzzle

How big is a framed opening for a door relative to the finished door opening width?

Am I correct in stating that the study of topology is purely theoretical?

Critique vs nitpicking

Why is 'diphthong' pronounced the way it is?

Is there a verb that means to inject with poison?

Find the smallest value of the function

Are the positive and negative planes inner or outer planes in the Great Wheel cosmology model?

Does Skippy chunky peanut butter contain trans fat?

When obtaining gender reassignment/plastic surgery overseas, is an emergency travel document required to return home?

Does the US government have any planning in place to ensure there's no shortages of food, fuel, steel and other commodities?

Coworker asking me to not bring cakes due to self control issue. What should I do?

Could a warlock use the One with Shadows warlock invocation to turn invisible, and then move while staying invisible?

Possible issue with my W4 and tax return

Which RAF squadrons and aircraft types took part in the bombing of Berlin on the 25th of August 1940?

How vim overwrites readonly mode?



Cannot install XAMPP as something already exists


Settings to send an email from localhost for PHP code in Windows VistaSettings to send email from localhost for PHP code in Windows VistaWAMP not working anymoreApache suddenly stops serving to LAN computers, now only localhost500 internal server error when accessing a project through localhost on wamp/apacheHow to connect android client to the localhost of Apache server (php) inside my laptop?Going crazy with php5apache2_4.dll not foundUninstalled Apache, but still see test pageNavigating to “localhost/phpMyAdmin” gives me an indexed list of files & foldersAccessing applications on local LAN / WI-FI networked Computers or Laptops













0















I was trying to install XAMPP on a friend’s Windows 7 laptop. First, it gave me the error message that it could not install to C:xampp as the folder was not empty. I had a look at the folder and it contains the following subfolders:




  • apache

  • mailoutput

  • mailtodisk

  • mysql

  • php

  • tmp


So, I thought to myself, maybe XAMPP is already installed. I checked http://localhost, and it gave me a page full of ads, which isn’t normal for XAMPP. In fact http://localhost/ANYTHING gives me a page full of ads. Viewing source on that page gives a complete blank. I do not understand how that is possible.



I asked my friend, whose laptop it is, and she has vague recollections of installing some sort of WAMP server from a USB stick. I tried renaming C:xampp as C:_xampp, but the existing localhost is unaffected. I looked through the list of programs in Control Panel > Remove Programs, but couldn’t see any reference to Apache, XAMPP, PHP. or anything with a similar name. There is a program called “MySQL Installer”, but that’s probably not relevant.



How can I find and remove the existing webserver, so I can replace it with XAMPP?










share|improve this question























  • Problem 1: the ads aren't coming from the localhost: they're coming from an infection in her browser. She has something which is injecting ads into pages. We'll have to fix that first, then I'll rewrite this question.

    – TRiG
    Oct 26 '13 at 17:12
















0















I was trying to install XAMPP on a friend’s Windows 7 laptop. First, it gave me the error message that it could not install to C:xampp as the folder was not empty. I had a look at the folder and it contains the following subfolders:




  • apache

  • mailoutput

  • mailtodisk

  • mysql

  • php

  • tmp


So, I thought to myself, maybe XAMPP is already installed. I checked http://localhost, and it gave me a page full of ads, which isn’t normal for XAMPP. In fact http://localhost/ANYTHING gives me a page full of ads. Viewing source on that page gives a complete blank. I do not understand how that is possible.



I asked my friend, whose laptop it is, and she has vague recollections of installing some sort of WAMP server from a USB stick. I tried renaming C:xampp as C:_xampp, but the existing localhost is unaffected. I looked through the list of programs in Control Panel > Remove Programs, but couldn’t see any reference to Apache, XAMPP, PHP. or anything with a similar name. There is a program called “MySQL Installer”, but that’s probably not relevant.



How can I find and remove the existing webserver, so I can replace it with XAMPP?










share|improve this question























  • Problem 1: the ads aren't coming from the localhost: they're coming from an infection in her browser. She has something which is injecting ads into pages. We'll have to fix that first, then I'll rewrite this question.

    – TRiG
    Oct 26 '13 at 17:12














0












0








0








I was trying to install XAMPP on a friend’s Windows 7 laptop. First, it gave me the error message that it could not install to C:xampp as the folder was not empty. I had a look at the folder and it contains the following subfolders:




  • apache

  • mailoutput

  • mailtodisk

  • mysql

  • php

  • tmp


So, I thought to myself, maybe XAMPP is already installed. I checked http://localhost, and it gave me a page full of ads, which isn’t normal for XAMPP. In fact http://localhost/ANYTHING gives me a page full of ads. Viewing source on that page gives a complete blank. I do not understand how that is possible.



I asked my friend, whose laptop it is, and she has vague recollections of installing some sort of WAMP server from a USB stick. I tried renaming C:xampp as C:_xampp, but the existing localhost is unaffected. I looked through the list of programs in Control Panel > Remove Programs, but couldn’t see any reference to Apache, XAMPP, PHP. or anything with a similar name. There is a program called “MySQL Installer”, but that’s probably not relevant.



How can I find and remove the existing webserver, so I can replace it with XAMPP?










share|improve this question














I was trying to install XAMPP on a friend’s Windows 7 laptop. First, it gave me the error message that it could not install to C:xampp as the folder was not empty. I had a look at the folder and it contains the following subfolders:




  • apache

  • mailoutput

  • mailtodisk

  • mysql

  • php

  • tmp


So, I thought to myself, maybe XAMPP is already installed. I checked http://localhost, and it gave me a page full of ads, which isn’t normal for XAMPP. In fact http://localhost/ANYTHING gives me a page full of ads. Viewing source on that page gives a complete blank. I do not understand how that is possible.



I asked my friend, whose laptop it is, and she has vague recollections of installing some sort of WAMP server from a USB stick. I tried renaming C:xampp as C:_xampp, but the existing localhost is unaffected. I looked through the list of programs in Control Panel > Remove Programs, but couldn’t see any reference to Apache, XAMPP, PHP. or anything with a similar name. There is a program called “MySQL Installer”, but that’s probably not relevant.



How can I find and remove the existing webserver, so I can replace it with XAMPP?







apache-http-server uninstall localhost






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 25 '13 at 13:25









TRiGTRiG

8331227




8331227













  • Problem 1: the ads aren't coming from the localhost: they're coming from an infection in her browser. She has something which is injecting ads into pages. We'll have to fix that first, then I'll rewrite this question.

    – TRiG
    Oct 26 '13 at 17:12



















  • Problem 1: the ads aren't coming from the localhost: they're coming from an infection in her browser. She has something which is injecting ads into pages. We'll have to fix that first, then I'll rewrite this question.

    – TRiG
    Oct 26 '13 at 17:12

















Problem 1: the ads aren't coming from the localhost: they're coming from an infection in her browser. She has something which is injecting ads into pages. We'll have to fix that first, then I'll rewrite this question.

– TRiG
Oct 26 '13 at 17:12





Problem 1: the ads aren't coming from the localhost: they're coming from an infection in her browser. She has something which is injecting ads into pages. We'll have to fix that first, then I'll rewrite this question.

– TRiG
Oct 26 '13 at 17:12










1 Answer
1






active

oldest

votes


















1














Maybe, some spyware or adware modified the hosts file in order to redirect localhost to some custom URI/IP.
You can find the file here:



%SystemRoot%system32driversetcHosts


The file shouldn't be very large, in fact, it's only about 20 lines long (incl. comments) in the default version.



If you have a XAMPP installation on your PC, you can also quickly test whether another program is listening on port 80:




  • Open XAMPP Control Panel

  • Click on "Netstat"

  • Look for a table entry with the port number 80






share|improve this answer


























  • Everything in the hosts file was comments. There was a comment that localhost resolution was handled within DNS itself, and then two localhost entries (127.0.0.1 and ::1) commented out. Nothing malicious. I've uncommented those last two. It made no difference. Still getting ads. Shall try installing XAMPP again and following your next suggestions.

    – TRiG
    Oct 25 '13 at 13:40













  • @TRiG The last two are safe (I have them, too). Please check whether any other program is listening locally on port 80 (just use the XAMPP Control Panel from your old XAMPP installation).

    – ComFreek
    Oct 25 '13 at 13:41













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f665293%2fcannot-install-xampp-as-something-already-exists%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Maybe, some spyware or adware modified the hosts file in order to redirect localhost to some custom URI/IP.
You can find the file here:



%SystemRoot%system32driversetcHosts


The file shouldn't be very large, in fact, it's only about 20 lines long (incl. comments) in the default version.



If you have a XAMPP installation on your PC, you can also quickly test whether another program is listening on port 80:




  • Open XAMPP Control Panel

  • Click on "Netstat"

  • Look for a table entry with the port number 80






share|improve this answer


























  • Everything in the hosts file was comments. There was a comment that localhost resolution was handled within DNS itself, and then two localhost entries (127.0.0.1 and ::1) commented out. Nothing malicious. I've uncommented those last two. It made no difference. Still getting ads. Shall try installing XAMPP again and following your next suggestions.

    – TRiG
    Oct 25 '13 at 13:40













  • @TRiG The last two are safe (I have them, too). Please check whether any other program is listening locally on port 80 (just use the XAMPP Control Panel from your old XAMPP installation).

    – ComFreek
    Oct 25 '13 at 13:41


















1














Maybe, some spyware or adware modified the hosts file in order to redirect localhost to some custom URI/IP.
You can find the file here:



%SystemRoot%system32driversetcHosts


The file shouldn't be very large, in fact, it's only about 20 lines long (incl. comments) in the default version.



If you have a XAMPP installation on your PC, you can also quickly test whether another program is listening on port 80:




  • Open XAMPP Control Panel

  • Click on "Netstat"

  • Look for a table entry with the port number 80






share|improve this answer


























  • Everything in the hosts file was comments. There was a comment that localhost resolution was handled within DNS itself, and then two localhost entries (127.0.0.1 and ::1) commented out. Nothing malicious. I've uncommented those last two. It made no difference. Still getting ads. Shall try installing XAMPP again and following your next suggestions.

    – TRiG
    Oct 25 '13 at 13:40













  • @TRiG The last two are safe (I have them, too). Please check whether any other program is listening locally on port 80 (just use the XAMPP Control Panel from your old XAMPP installation).

    – ComFreek
    Oct 25 '13 at 13:41
















1












1








1







Maybe, some spyware or adware modified the hosts file in order to redirect localhost to some custom URI/IP.
You can find the file here:



%SystemRoot%system32driversetcHosts


The file shouldn't be very large, in fact, it's only about 20 lines long (incl. comments) in the default version.



If you have a XAMPP installation on your PC, you can also quickly test whether another program is listening on port 80:




  • Open XAMPP Control Panel

  • Click on "Netstat"

  • Look for a table entry with the port number 80






share|improve this answer















Maybe, some spyware or adware modified the hosts file in order to redirect localhost to some custom URI/IP.
You can find the file here:



%SystemRoot%system32driversetcHosts


The file shouldn't be very large, in fact, it's only about 20 lines long (incl. comments) in the default version.



If you have a XAMPP installation on your PC, you can also quickly test whether another program is listening on port 80:




  • Open XAMPP Control Panel

  • Click on "Netstat"

  • Look for a table entry with the port number 80







share|improve this answer














share|improve this answer



share|improve this answer








edited Oct 25 '13 at 13:37

























answered Oct 25 '13 at 13:31









ComFreekComFreek

3541522




3541522













  • Everything in the hosts file was comments. There was a comment that localhost resolution was handled within DNS itself, and then two localhost entries (127.0.0.1 and ::1) commented out. Nothing malicious. I've uncommented those last two. It made no difference. Still getting ads. Shall try installing XAMPP again and following your next suggestions.

    – TRiG
    Oct 25 '13 at 13:40













  • @TRiG The last two are safe (I have them, too). Please check whether any other program is listening locally on port 80 (just use the XAMPP Control Panel from your old XAMPP installation).

    – ComFreek
    Oct 25 '13 at 13:41





















  • Everything in the hosts file was comments. There was a comment that localhost resolution was handled within DNS itself, and then two localhost entries (127.0.0.1 and ::1) commented out. Nothing malicious. I've uncommented those last two. It made no difference. Still getting ads. Shall try installing XAMPP again and following your next suggestions.

    – TRiG
    Oct 25 '13 at 13:40













  • @TRiG The last two are safe (I have them, too). Please check whether any other program is listening locally on port 80 (just use the XAMPP Control Panel from your old XAMPP installation).

    – ComFreek
    Oct 25 '13 at 13:41



















Everything in the hosts file was comments. There was a comment that localhost resolution was handled within DNS itself, and then two localhost entries (127.0.0.1 and ::1) commented out. Nothing malicious. I've uncommented those last two. It made no difference. Still getting ads. Shall try installing XAMPP again and following your next suggestions.

– TRiG
Oct 25 '13 at 13:40







Everything in the hosts file was comments. There was a comment that localhost resolution was handled within DNS itself, and then two localhost entries (127.0.0.1 and ::1) commented out. Nothing malicious. I've uncommented those last two. It made no difference. Still getting ads. Shall try installing XAMPP again and following your next suggestions.

– TRiG
Oct 25 '13 at 13:40















@TRiG The last two are safe (I have them, too). Please check whether any other program is listening locally on port 80 (just use the XAMPP Control Panel from your old XAMPP installation).

– ComFreek
Oct 25 '13 at 13:41







@TRiG The last two are safe (I have them, too). Please check whether any other program is listening locally on port 80 (just use the XAMPP Control Panel from your old XAMPP installation).

– ComFreek
Oct 25 '13 at 13:41




















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f665293%2fcannot-install-xampp-as-something-already-exists%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...