I'm using XAMPP, and I can start Apache, but, MySQL (PhpMyAdmin) start!
When I start, I get this error;
10:07:49 [Apache] Error: Apache shutdown unexpectedly.
10:07:49 [Apache] This may be due to a blocked port, missing dependencies,
10:07:49 [Apache] improper privileges, a crash, or a shutdown by another method.
10:07:49 [Apache] Press the Logs button to view error logs and check
10:07:49 [Apache] the Windows Event Viewer for more clues
10:07:49 [Apache] If you need more help, copy and post this
10:07:49 [Apache] entire log window on the forums
I search on it, and, change the port of Apache in Config -> Service and Port setting. I have;
Service name : Apache2.4
Main Port : 122
SSL port : 444
I also uninstall Skype (Windows 8/10/Metro version). Nothing Working. In the httpd.conf I have;
Listen 122
ServerName localhost:122
I start it via apache_start.bat and get;
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address [::]:445
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address 0.0.0.0:445
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs
Please not that all the LOGS files dosen't exsist! Skype is uninstalled.
If you need more informations, please ask me.
It looks like there are many options answer it is depend on your windows. Here is my experience when having the same problem in windows 10 fresh install and fix the issue with the following step :
Listen 80
Listen 443
toListen 441
NOTE : I'm using XAMPP Version 5.6.15 and XAMPP Control Panel version 3.2.2
I found a way to solve this problem:
If this does not work,
If that did not work and "World Wide Web Publishing Service" was not available,
I have tried all the above solutions. But it was not working in any way.
Finally I just uninstalled the XAMPP and installed it again. Then it worked for me.
Now I can able to run the server on any port (including 80).
Steps: Open the XAMMP Control Panel, Open Apache Config, then select the Apache - xammp- config file Search for Port 443, and then change it to some other port lets say 4433
Then restart.
These advices were great. I had the same problem, but my solution was different, because I was so stupid, that I have renamed directory where XAMPP was located and sice I had installed a lot of another programs I couldn't rename it back.
In my case there was original directory C:\Programs\Xampp and renamed it to C:\PROGRAMS_\Xampp and that was the mistake.
Solution was to find all references on C:\Programs and rename them C:\PROGRAMS_ in Xampp directory, because for some reason during the installation it writes absolute paths not realive. Of course there are some refences in registry too.
Hope that will help someone.
it's simply a matter of making port 80 available for your Apache service The way i solved the problem is
run
services.msc
andclick OK
World wide web publishing service
startup type
value toAutomatic (Delayed Start)
There you have it, All is back to normal