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.
You can change the port of apache:
NameVirtualHost *:80 here
VirtualHost *:80 and here (two times)
To enter your web page type: http://localhost:81/index.html
Solving this problem is easy:
net stop W3SVC
and Enter.You can now click in WAMPP and restart all services. Open your browser and navigate to "localhost".
If you need to start W3SVC again,
net start W3SVC
and Enter.I found that running apache_start in gave me the exact error and on which line it was. My error was that I left a space in between loccalhost: and the port
1. Press Windows+R, type
regedit
2. Go to
Change the value of
Start
to 4, which means disabled.3. Reboot your computer
Update: 15th May, 2018 :
The latest Windows 10 update (re-)activated the World Wide Web Publishing Service (in german: WWW-Publishingdienst). This might depend on the options you select during the configuration of the update you can make afterwards.
Update: 4th August, 2015 :
If you have done clean installation of Windows 10, you may not have the Word Wide Web Publishing Service. In that case, simple WAMP/XAMPP installation should work fine.
If it doesn't, try installing Visual C++ Redistributable and then re-install WAMP/XAMPP.
I was facing a similar problem with WAMP. In Windows 10 TP, the Word Wide Web Publishing Service comes pre-installed. This is related to IIS and you can remove it if you don't need it.
This blocks the port
80
making Apache act weirdly. You can do the following and try again.This should make port 80 free and restarting WAMP/XAMPP should get you up and running!
There are other ways to do fix this. http://praveenpuglia.com/make-wamp-work-on-windows-10-technical-preview/