My Xampp Apache presented the same problem, overnight stopped booting. That’s when I noticed that the problem started to occur after I installed Vmware Workstation (it may also occur with the installation of Virtualbox program), because it uses port 443 that is also used by Apache.
Do the following:
Identify what is causing the error:
Check if port 443 is being used by another service/program (the same error may also occur with port 80, the process for checking is the same) :
Run the MS-DOS Command Prompt, one of the ways to do this is by pressing the Windows + R key and in Run type CMD and click OK.
In MS-DOS type the netstat -ao command and press ENTER.
In the list shown we verify that port 443 is being used by another service/program, write down the PID of the process that is using port 443, which in the case of this example is PID number 14320.
Now let’s identify the application that is using port 443. Still at the MS-DOS command prompt type the tasklist /fi command "PID eq [PID number]" which in the case of this example the command will look like this: tasklist /fi "PID eq 14320"
- In the result we can verify that in the case of this example the service/program that is using port 443 is Vmware-hostd.exe which is used for running and using the Vmware Workstation application to create virtual machines.
We now come to the 2 possible solutions:
Solution 1:
Stop all Vmware Workstation services and change the properties of the services to run manually, that is, whenever you need to use Vmware Workstation you will first need to start its services manually. For this, do the following procedure:
Run the Windows Service Manager. One of the ways to run it is to press the Windows + R keys in Run type services.Msc and click OK.
In Service Manager, locate the services you want to stop and change their properties, in this example is Vmware Workstation:
- As can be verified in the image, for Vmware there are 5 services listed and running, we will stop them all by clicking on each of them and then clicking on "Stop the service". Then we will right-click on each of them and click on the drop-down menu click on Properties:
- In the Service Properties, under the General tab, under Boot Type change to Manual and click OK.
- Apache will now start normally and whenever you need to use Vmware Workstation just run the services.Msc (Service Manager) select the Vmware services and click Start. (But for this, if you are using Apache you will have to stop Apache, otherwise error may occur and Vmware services will not be initialized).
Solution 2:
- Change port 443 to port 4433 on Apache. To do this go to the apache conf extra folder and edit the httpd-ssl.conf file by changing the line Listen 443 to Listen 4433. In the case of our example, we add the # symbol before Listen 443 so that the line is interpreted as a comment and the command is not executed and add in the line below the command Listen 4433, is defined that port 4433 in Apache will be used for https and tls/ssl protocols. Make this change, save the file and initialize Apache.
- If the problem is with port 80, switch to port 81 by editing the httpd.conf file in the apache conf folder by changing the line Listen 80 to Listen 81.
I hope to have collaborated and that this small tutorial will be useful.
Hug to all.
Dear Lucas, have you read the logs? After all it is the first thing that is indicating, isn’t it? So probably your problem is that there is some other program using port 80 of apache, it may be Skype.
– Guilherme Nascimento
This answers your question? Apache does not start the service in windows 10
– Guilherme Nascimento
I read the logs but did not understand
– Lucasgabriel Ferrera
thanks for the help, but I think my problem is different from this one
– Lucasgabriel Ferrera
I did not ask to read the logs, I asked to bring the logs here, after all this is the ideal way to analyze the problems, we do not have to analyze the problem distance from your computer. Try to read the answers to the other question, you don’t have a single answer, you have more than one try both FIRST.
– Guilherme Nascimento
All right I’ll send the logs there
– Lucasgabriel Ferrera
84 2020] [ssl:warn] [pid 17652:tid 624] AH01909: www.example.com:443:0 server Certificate does NOT include an ID which Matches the server name [Tue Apr 28 18:42:40.231271 2020] [ssl:warn] [pid 17652:tid 624] AH01909: www.example.com:443:0 server Certificate does NOT include an ID which Matches the server name
– Lucasgabriel Ferrera
[Tue Apr 28 20:27:41.425459 2020] [php7:error] [pid 8092:tid 1912] [client :1:60857] script 'C:/Users/Esdra/Desktop/sons/Xamp/htdocs/uva.php' not found or Unable to stat [Tue Apr 28 20:27:47.140979 2020] [php7:error] [pid 8092:tid 1900] [client :1:60867] script 'C:/Users/Esdra/Desktop/sons/Xamp/htdocs/uva.php' not found or Unable to stat [Tue Apr 28 20:29:25.981466 2020] [php7:error] [pid 8092:tid 1912] [client ::1:60989] script 'C:/Users/Esdra/Desktop/sons/Xamp/htdocs/uva.php' not found or Unable to stat
– Lucasgabriel Ferrera
The logs should go in question, it is for that q has the EDIT button below the question, and has to take the recent logs and not the LOGS of yesterday.
– Guilherme Nascimento
You only have yesterday’s
– Lucasgabriel Ferrera
vc have 2 apaches installed? Have you skype installed? Have you tried the answers that Linkei above? See that there are more than one, there are tips on how to locate the program that is interrupting access to the door.
– Guilherme Nascimento
I think I got two Apaches
– Lucasgabriel Ferrera
that’s the problem ?
– Lucasgabriel Ferrera
That’s the problem yes, if you had read the link I sent you above you would have understood, is answered there about DOORS. ... That’s the problem, apache starts as a service and uses port 80, you do not have to use 2 Apaches in the same door, nor would have sense. Save your projects, uninstall everything pertaining to apache, wamp, xampp, easyphp or any other similar program you have downloaded, restart your PC, download xampp, install and be happy :)
– Guilherme Nascimento
thanks same guy, this is all that is missing for me to start my wordpress course helped a lot, thanks even, I will try to do this
– Lucasgabriel Ferrera