error to start the apache on my xampp - apache

When I try to start the apache, it will automatically close.
so i couldn't run any application on my browser.
what should i do?
and the error appear should this:
11:20:19 AM [Apache] Error: Apache shutdown unexpectedly.
11:20:19 AM [Apache] This may be due to a blocked port, missing dependencies,
11:20:19 AM [Apache] improper privileges, a crash, or a shutdown by another method.
11:20:19 AM [Apache] Press the Logs button to view error logs and check
11:20:19 AM [Apache] the Windows Event Viewer for more clues
11:20:19 AM [Apache] If you need more help, copy and post this
11:20:19 AM [Apache] entire log window on the forums

Related

How can I solve "Error: Apache shutdown unexpectedly." in XAMPP

22:26:40 [Apache] Error: Apache shutdown unexpectedly.
22:26:40 [Apache] This may be due to a blocked port, missing dependencies,
22:26:40 [Apache] improper privileges, a crash, or a shutdown by another method.
22:26:40 [Apache] Press the Logs button to view error logs and check
22:26:40 [Apache] the Windows Event Viewer for more clues
22:26:40 [Apache] If you need more help, copy and post this
22:26:40 [Apache] entire log window on the forums
this is the code that comes out when i try to start apache with xampp.
How can I solve this?
Before it says the port is blocked, so I change the default port and this wor, partially because this come out. I tried with this method but it doesn't work

Apache on xampp shut down unexpectedly

I'm running Xampp v3.3.0 on windows 10, I recently had a reset and reinstall of my PC and also my xampp. Now, anytime I try to start the appache service, I get this...
03:35:40 [Apache] Error: Apache shutdown unexpectedly.
03:35:40 [Apache] This may be due to a blocked port,
missing dependencies,
03:35:40 [Apache] improper privileges, a crash, or a
shutdown by another method.
03:35:40 [Apache] Press the Logs button to view error
logs and check
03:35:40 [Apache] the Windows Event Viewer for more clues
03:35:40 [Apache] If you need more help, copy and post
this
03:35:40 [Apache] entire log window on the forums
I've gotten answers that involve changing port 80 and others, done that and restarted my PC and apache to no avail..It still won't start
Try this:
Run cmd as an administrator
Navigate to xampp/apache/bin
Type httpd -t
That will check the validity of your apache config file.

Apache shutdown unexpexctedly. Error is still there despite changing the ports

I have even changed the ports Apache httpd conf and httpd-ssl conf but errors are still there. Please let me know if there any services to be stopped. I am using php 7.3 and xampp control panel v3.2.4
Status change detected: running
3:34:17 PM [Apache] Status change detected: stopped
3:34:17 PM [Apache] Error: Apache shutdown unexpectedly.
3:34:17 PM [Apache] This may be due to a blocked port, missing dependencies,
3:34:17 PM [Apache] improper privileges, a crash, or a shutdown by another method.
3:34:17 PM [Apache] Press the Logs button to view error logs and check
3:34:17 PM [Apache] the Windows Event Viewer for more clues
3:34:17 PM [Apache] If you need more help, copy and post this

Xampp Apache Service(Not a Skype Port conflict)

Unable to start Apache service on XAMPP
Error: Apache shutdown unexpectedly.
11:18:40 PM [Apache] This may be due to a blocked port, missing dependencies,
11:18:40 PM [Apache] improper privileges, a crash, or a shutdown by another method.
11:18:40 PM [Apache] Press the Logs button to view error logs and check
11:18:40 PM [Apache] the Windows Event Viewer for more clues
11:18:40 PM [Apache] If you need more help, copy and post this
11:18:40 PM [Apache] entire log window on the forums

Apache unexpectedly shut down after start on XAMPP (Windows 7)

Please note, I'm a newb so bear with me if this is just a stupid mistake.
I have XAMPP on my Win 7 laptop, no IIS, no extra MySQL stuff. However, everytime I click start for the apache module this comes up.
18:18:01 [Apache] Problem detected!
18:18:01 [Apache] Port 80 in use by "Unable to open process" with PID 4!
18:18:01 [Apache] Apache WILL NOT start without the configured ports free!
18:18:01 [Apache] You need to uninstall/disable/reconfigure the blocking application
18:18:01 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
18:18:01 [Apache] Attempting to start Apache app...
18:18:02 [Apache] Status change detected: running
18:18:02 [Apache] Status change detected: stopped
18:18:02 [Apache] Error: Apache shutdown unexpectedly.
18:18:02 [Apache] This may be due to a blocked port, missing dependencies,
18:18:02 [Apache] improper privileges, a crash, or a shutdown by another method.
18:18:02 [Apache] Press the Logs button to view error logs and check
18:18:02 [Apache] the Windows Event Viewer for more clues
18:18:02 [Apache] If you need more help, copy and post this
18:18:02 [Apache] entire log window on the forums
Skype and VMWare is disconnected, nothing in Error log or Windows Event Viewer, and as far as I know, port 80 is free
Any advice would be most welcome.
Many thanks
EDIT: thanks for the answer. Turns out the Web Deploy Service issued with Microsoft WebMatrix was to blame. Many thanks.
From the error log, it is obvious that port 80 is opened
Open a CMD prompt and type in command: net stop was /y
Run Dialog Box (press keys Win+R) .. then type: services.msc
I then scrolled down to: World Wide Web Publishing Service Double clicked on it and clicked STOP (if this service status is Started)
Start Apache again with XAMPP :)
Link Ref: http://www.sitepoint.com/unblock-port-80-on-windows-run-apache/