XAMPP apache Http server stops working

I tried a lot (restarting XAMPP, PC, etc.), but I cannot fix this:

Problem signature:
Problem Event Name: APPCRASH
Application Name:   httpd.exe
Application Version:    2.4.17.0
Application Timestamp:  561cc534
Fault Module Name:  libapr-1.dll
Fault Module Version:   1.5.2.0
Fault Module Timestamp: 561cc6a2
Exception Code: c0000005
Exception Offset:   00011fcb
OS Version: 6.1.7601.2.1.0.768.3
Locale ID:  1033
Additional Information 1:   0a9e
Additional Information 2:   0a9e372d3b4ad19135b953a78882e789
Additional Information 3:   0a9e
Additional Information 4:   0a9e372d3b4ad19135b953a78882e789

I am on Windows 7 32 Bit and MySQL starts up fine And my old version of Apache (before I was going to use the SQL database) will work fine after I get this error:

I also get this in the XAMPP console:

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

To fix this problem:

1 - stop apache web server from xampp panel

2 - select (httpd.conf) from the configuration menu in the xampp panel

3-nested code at the end of the file

<IfModule mpm_winnt_module>
  ThreadStackSize 8388608
</IfModule>
+11
source

Comment the line 'error_log="C:\xampp\php\logs\php_error_log"' in php.ini

-1
source

Source: https://habr.com/ru/post/1621837/


All Articles