Need help with apache:Error: Apache shutdown unexpectedly.

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Need help with apache:Error: Apache shutdown unexpectedly.

Postby sagar_php » 28. January 2013 08:40

I have downloaded and installed xampp-win32-1.8.1-VC9-installer on my windows 8.
Whenever I change the configuration settings of apache in httpd.conf Apache is throwing this error.
I have to uninstall-install the xampp again to make it functional.
But again when i change the configuration settings, the same thing repeats.
I am trying to set up the virtual host on my windows 8.
Thank You.

The following error occur

1:09:44 PM [Apache] Attempting to start Apache app...
1:09:44 PM [Apache] Status change detected: running
1:09:44 PM [Apache] Status change detected: stopped
1:09:44 PM [Apache] Error: Apache shutdown unexpectedly.
1:09:44 PM [Apache] This may be due to a blocked port, missing dependencies,
1:09:44 PM [Apache] improper privileges, a crash, or a shutdown by another method.
1:09:45 PM [Apache] Check the "/xampp/apache/logs/error.log" file
1:09:45 PM [Apache] and the Windows Event Viewer for more clues

The error.log is not updated accordingly.
There is no port blocked.
I have checked it in task manager resource monitor listening ports.
Thank You.
sagar_php
 
Posts: 2
Joined: 28. January 2013 08:34
XAMPP Version: 5.6.3
Operating System: Windows 8

Re: Need help with apache:Error: Apache shutdown unexpectedl

Postby sagar_php » 28. January 2013 08:56

I got the error.
I tried running apache through command line windows and found out.
Anybody stuck on the same issue. Please do ping me for the solution
All i did was run httpd.exe from cd xampp/apache/bin httpd.exe
It showed a syntax error which i corrected.
Thank You.
sagar_php
 
Posts: 2
Joined: 28. January 2013 08:34
XAMPP Version: 5.6.3
Operating System: Windows 8

Re: Need help with apache:Error: Apache shutdown unexpectedl

Postby Altrea » 28. January 2013 09:50

Hi sagar_php,

sagar_php wrote:It showed a syntax error which i corrected.

Your thread would be a better help if you would tell us, which syntax error you corrected and how you corrected it.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6697
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64

Re: Need help with apache:Error: Apache shutdown unexpectedl

Postby shikind11 » 29. January 2013 14:14

Hi Sagar,

Could you please post the solution as I too face the same problem?

Thanks
shikind11
 
Posts: 1
Joined: 29. January 2013 14:11
XAMPP Version: 5.6.3
Operating System: Windows XP

Re: Need help with apache:Error: Apache shutdown unexpectedl

Postby JonB » 29. January 2013 16:02

Since the OP did not fully explain, I will.

Code: Select all
All i did was run httpd.exe from cd xampp/apache/bin httpd.exe
It showed a syntax error which i corrected.


The problem was a syntax error in either an Apache Directive or a resource named in an Apache .conf file.

By running httpd.exe from the Command Line the error is returned in the Command Window. In most cases you can also glean the same information from the Apache Error Log (its the same output stream)

Ok?

:mrgreen:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 27 guests