Apache does not start the service on windows 10

16

I'm using XAMPP and since I moved to windows 10 it comes with that, before it did not activate apache, then I looked for some tutorials on the internet and found this .

Solved one of the problems, because after doing the steps in this video apache started to start, but when I enter the localhost only one blank page remains. Even trying to access another directory from the htdocs folder remains the same.

    
asked by anonymous 13.08.2015 / 02:13

3 answers

22

I had the same problem with windows 10, what happens is that there is a service probably connected to IIS (express I believe) which is also a web server, it is by default enabled, to resolve this without changing the default port of apache, press winkey + R and type services.msc search for: Serviço de Publicação da World Wide Web , first stop it then leave the service to start manually.

    
13.08.2015 / 02:25
8

If you followed the tutorial and changed the port that apache is listening to, then you will have to type: localhost: 1234 where 1234 is the new port that you configured.

    
13.08.2015 / 02:16
7

Your problem may be that port 80/443 is already busy with another process. You can use a utility to confirm who is using these ports, such as CurrPorts .

You can also find out from the command line:

netstat -aon | findstr :80

After discovering the process that is using port 80, check the PID of the process and find out that it is to blame with (changing 2160 by PID ):

tasklist /FI "PID eq 2160"

Example:

Inmostcases,Skypeistheculprit.

Todisabletheuseoftheseports,gotoTools>Options,thentheAdvancedSettingstab>Connectionandfinallyunchecktheoptiontouseports80and443

    
20.08.2015 / 12:54