If you are running XAMPP or WAMP and have gotten an error like the following:

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

To fix this issue follow these steps:

Run an administrator command prompt (Start -> type in “cmd” right click on Command Prompt while holding down ctrl + shift and select Run as administrator”, approve the UAC prompt if needed)
Type “net stop http” into the command line.