Apache startes but immediately stops.
Posted: 21. May 2016 17:17
This is the result I get:
11:54:02 AM [Apache] Attempting to start Apache app...
11:54:02 AM [Apache] Status change detected: running
11:54:06 AM [Apache] Status change detected: stopped
11:54:06 AM [Apache] Error: Apache shutdown unexpectedly.
11:54:06 AM [Apache] This may be due to a blocked port, missing dependencies,
11:54:06 AM [Apache] improper privileges, a crash, or a shutdown by another method.
11:54:06 AM [Apache] Press the Logs button to view error logs and check
11:54:06 AM [Apache] the Windows Event Viewer for more clues
11:54:06 AM [Apache] If you need more help, copy and post this
11:54:06 AM [Apache] entire log window on the forums
I did have a computer crash a little while ago and before that, Apache worked fine.
I recovered my computer by restoring to Manufacturer delivery status and then restored my files from back-up I had.
Before going any further, my XAMPP is ver 3.2.2. Should I replace it with the latest version? If I do, will it affect the web code I've already done and will I lose my database?
I looked at the XAMPP ERROR LOG - there is nothing current; the last msg is from April 13:
[Wed Apr 13 01:50:23.007539 2016] [mpm_winnt:notice] [pid 13340:tid 512] AH00354: Child: Starting 150 worker threads.
Same with the ACCESS LOG:
::1 - - [13/Apr/2016:01:51:18 +0200] "POST /homeaccounting/HA_LogInCheck.php HTTP/1.1" 200 2721 "http://localhost/homeaccounting/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586"
I note that XAMPP is set to use Port 80.
Netstat shows:
0.0.0.0 80 4 System (I don't know if that has any bearing)
11:54:02 AM [Apache] Attempting to start Apache app...
11:54:02 AM [Apache] Status change detected: running
11:54:06 AM [Apache] Status change detected: stopped
11:54:06 AM [Apache] Error: Apache shutdown unexpectedly.
11:54:06 AM [Apache] This may be due to a blocked port, missing dependencies,
11:54:06 AM [Apache] improper privileges, a crash, or a shutdown by another method.
11:54:06 AM [Apache] Press the Logs button to view error logs and check
11:54:06 AM [Apache] the Windows Event Viewer for more clues
11:54:06 AM [Apache] If you need more help, copy and post this
11:54:06 AM [Apache] entire log window on the forums
I did have a computer crash a little while ago and before that, Apache worked fine.
I recovered my computer by restoring to Manufacturer delivery status and then restored my files from back-up I had.
Before going any further, my XAMPP is ver 3.2.2. Should I replace it with the latest version? If I do, will it affect the web code I've already done and will I lose my database?
I looked at the XAMPP ERROR LOG - there is nothing current; the last msg is from April 13:
[Wed Apr 13 01:50:23.007539 2016] [mpm_winnt:notice] [pid 13340:tid 512] AH00354: Child: Starting 150 worker threads.
Same with the ACCESS LOG:
::1 - - [13/Apr/2016:01:51:18 +0200] "POST /homeaccounting/HA_LogInCheck.php HTTP/1.1" 200 2721 "http://localhost/homeaccounting/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586"
I note that XAMPP is set to use Port 80.
Netstat shows:
0.0.0.0 80 4 System (I don't know if that has any bearing)