Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

[SOLVED] XAMPP Apache Error

4:20:42 PM [Apache] Error: Apache shutdown unexpectedly. 4:20:42 PM [Apache] This may be due to a blocked port, missing dependencies, 4:20:42 PM [Apache] improper privileges, a crash, or a shutdown by another method. 4:20:42 PM [Apache] Press the Logs button to view error logs and check 4:20:42 PM [Apache] the Windows Event Viewer for more clues 4:20:42 PM [Apache] If you need more help, copy and post this 4:20:42 PM [Apache] entire log window on the forums How do I fix this?

__ROLLER__ Angel
__ROLLER__ Angel
25,606 Points

I believe you need to also press the Logs button and paste the logs here as well to help further investigate the issue.

Here are the logs. [Sun Aug 16 16:07:23.283651 2015] [ssl:warn] [pid 3092:tid 520] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name [Sun Aug 16 16:07:24.375715 2015] [ssl:warn] [pid 3092:tid 520] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name [Sun Aug 16 16:07:24.814740 2015] [mpm_winnt:notice] [pid 3092:tid 520] AH00455: Apache/2.4.16 (Win32) OpenSSL/1.0.1p PHP/5.6.11 configured -- resuming normal operations [Sun Aug 16 16:07:24.815742 2015] [mpm_winnt:notice] [pid 3092:tid 520] AH00456: Apache Lounge VC11 Server built: Jul 12 2015 10:56:48 [Sun Aug 16 16:07:24.817741 2015] [core:notice] [pid 3092:tid 520] AH00094: Command line: 'C:\xampp\apache\bin\httpd.exe -d C:/xampp/apache' [Sun Aug 16 16:07:24.954749 2015] [mpm_winnt:notice] [pid 3092:tid 520] AH00418: Parent: Created child process 6004 [Sun Aug 16 16:07:31.768144 2015] [ssl:warn] [pid 6004:tid 584] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name [Sun Aug 16 16:07:32.904210 2015] [ssl:warn] [pid 6004:tid 584] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name [Sun Aug 16 16:07:33.279230 2015] [mpm_winnt:notice] [pid 6004:tid 584] AH00354: Child: Starting 150 worker threads.

I figured it out! Apparently I was not running it as an administrator. What I did was right click on the xampp-control.exe file and ran it as administrator and it works perfectly now!

Hi Matthew Clark, just letting you know I changed the title of this question to mark it as solved.