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
Related
I use Xampp as my webserver. I by mistake stopped the Apache server from Task Manager in Windows, now when I try to start it, it shows an error saying Apache service cannot be started.
4:44:43 PM [Apache] Error: Apache shutdown unexpectedly.
4:44:43 PM [Apache] This may be due to a blocked port, missing dependencies,
4:44:43 PM [Apache] improper privileges, a crash, or a shutdown by another method.
4:44:43 PM [Apache] Press the Logs button to view error logs and check
4:44:43 PM [Apache] the Windows Event Viewer for more clues
4:44:43 PM [Apache] If you need more help, copy and post this
4:44:43 PM [Apache] entire log window on the forums
I've tried changing my port from 80 to 82 but it didn't work out. Can anyone suggest a way to tackle this?
PS: I'm afraid the only way I can see is to uninstall and then reinstall.
You need to run it as a privileged user: you're trying to bind a port below 1024.
Alternatively you can change the port Apache listens on, to a port above 1024.
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
Can't start Apache Server. But Mysql server is working. Apache Sever shutdowns automatically!!
1:34:52 PM [Apache] Error: Apache shutdown unexpectedly.
1:34:52 PM [Apache] This may be due to a blocked port, missing dependencies,
1:34:52 PM [Apache] improper privileges, a crash, or a shutdown by another method.
1:34:52 PM [Apache] Press the Logs button to view error logs and check
1:34:52 PM [Apache] the Windows Event Viewer for more clues
1:34:52 PM [Apache] If you need more help, copy and post this
1:34:52 PM [Apache] entire log window on the forums
Most of the time Skype is the reason for this.
If you have Skype go to Skype then go to Tools -> Options -> Advanced -> Connection and uncheck the Use port 80 and 443 for incoming connections. After that jsut restart Apache and this should do the trick.
If you don't have Skype installed then make sure to check in what port is your Apache, if it's on 80 change it to 8080
I installed XAMPP and for some reason when I start running Apache, it doesn't run. I'm not using Skype and also changed the port from 80 to 8080,7777. But nothing seems to work.
Also when I try opening the logs, they are empty.
The detailed error which I get is as follows
10:29:55 PM [Apache] Attempting to start Apache app...
10:29:55 PM [Apache] Status change detected: running
10:29:57 PM [Apache] Status change detected: stopped
10:29:57 PM [Apache] Error: Apache shutdown unexpectedly.
10:29:57 PM [Apache] This may be due to a blocked port, missing dependencies,
10:29:57 PM [Apache] improper privileges, a crash, or a shutdown by another method.
10:29:57 PM [Apache] Press the Logs button to view error logs and check
10:29:57 PM [Apache] the Windows Event Viewer for more clues
10:29:57 PM [Apache] If you need more help, copy and post this
10:29:57 PM [Apache] entire log window on the forums
Please someone help
Well,somehow resinstalling XAMPP worked for me.
Be sure to install (or unzip) the xampp folder to the root directory (C:\). It helped me even when Skype was listening on the same port apache still would boot up.
Than it is good practise to change http port and ssl port to some different number up to 65535. You have to change it in 3 steps:
1) In Config Panel -> Service and Port Settings -> Main Port & SSL Port
2) Apache (httpd.conf)
3) Apache (httpd-ssl.conf)
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