Problem in Xampp

Asked

Viewed 737 times

-3

i am having trouble starting apache in Xampp when start hit appears the message sequinte:

This may be due to a blocked door, lack of dependencies, 18:17:44 [Apache] improper privileges, a failure or a shutdown by another method. 18:17:44 [Apache] Press the Logs button to view the error logs and check 18:17:44 [Apache] the Windows Event Viewer for more clues 18:17:44 [Apache] If you need more help, copy and publish this 18:17:44 [Apache] entire registration window in the forums

I’ve changed the door several times and it hasn’t worked yet

Hello can help me please

  • 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.

  • 1
  • I read the logs but did not understand

  • thanks for the help, but I think my problem is different from this one

  • 1

    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.

  • All right I’ll send the logs there

  • 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

  • [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

  • 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.

  • You only have yesterday’s

  • 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.

  • I think I got two Apaches

  • that’s the problem ?

  • 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 :)

  • 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

Show 10 more comments

1 answer

-1

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:

  1. 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) :

  2. 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.

  3. In MS-DOS type the netstat -ao command and press ENTER.

inserir a descrição da imagem aqui

  1. 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.

  2. 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"

inserir a descrição da imagem aqui

  1. 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:

  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:

  2. 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.

  3. In Service Manager, locate the services you want to stop and change their properties, in this example is Vmware Workstation:

inserir a descrição da imagem aqui

  1. 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:

inserir a descrição da imagem aqui

  1. In the Service Properties, under the General tab, under Boot Type change to Manual and click OK.

inserir a descrição da imagem aqui

  1. 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).

inserir a descrição da imagem aqui

Solution 2:

  1. 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.

inserir a descrição da imagem aqui

  1. 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.

inserir a descrição da imagem aqui

I hope to have collaborated and that this small tutorial will be useful.

Hug to all.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.