logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.4.66 VS18 httpd crashes PHP 8.5.1 Page Previous  1, 2, 3, 4, 5
Author
mrdj1024



Joined: 03 Apr 2023
Posts: 81
Location: Bridgeton,NJ,USA

PostPosted: Thu 26 Feb '26 15:13    Post subject: Reply with quote

so there is an issue in the nghttp2 dll itself? currently running nghttp2 1.68
Back to top
tmabell



Joined: 23 Jun 2023
Posts: 13
Location: Mishawaka, IN

PostPosted: Thu 26 Feb '26 15:55    Post subject: Reply with quote

This may confuse things but I have been chasing this kind of issue for a while now. This is my error:

[Wed Feb 25 19:21:01.729542 2026] [mpm_winnt:notice] [pid 13388:tid 436] AH00428: Parent: child process 10804 exited with status 3221225477 -- Restarting.]

This is recorded in WER:

[Log Name: Application
Source: Application Error
Date: 2/26/2026 8:06:30 AM
Event ID: 1000
Task Category: Application Crashing Events
Level: Error
Keywords:
User: SYSTEM
Computer: W
Description:
Faulting application name: httpd.exe, version: 2.4.66.0, time stamp: 0x699c17d8
Faulting module name: php8ts.dll, version: 8.5.1.0, time stamp: 0x69428cfc
Exception code: 0xc0000005
Fault offset: 0x000000000063ef53
Faulting process id: 0x5BAC
Faulting application start time: 0x1DCA720B2A158BE
Faulting application path: C:\Apache24\bin\httpd.exe
Faulting module path: C:\php8\php8ts.dll
Report Id: 9aca63ef-8422-4bf3-8792-8051bb6a5838
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" Guid="{a0e9b465-b939-57d7-b27d-95d8e925ff57}" />
<EventID>1000</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>100</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2026-02-26T13:06:30.7707534Z" />
<EventRecordID>47873</EventRecordID>
<Correlation />
<Execution ProcessID="20380" ThreadID="18156" />
<Channel>Application</Channel>
<Computer>W</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="AppName">httpd.exe</Data>
<Data Name="AppVersion">2.4.66.0</Data>
<Data Name="AppTimeStamp">699c17d8</Data>
<Data Name="ModuleName">php8ts.dll</Data>
<Data Name="ModuleVersion">8.5.1.0</Data>
<Data Name="ModuleTimeStamp">69428cfc</Data>
<Data Name="ExceptionCode">c0000005</Data>
<Data Name="FaultingOffset">000000000063ef53</Data>
<Data Name="ProcessId">0x5bac</Data>
<Data Name="ProcessCreationTime">0x1dca720b2a158be</Data>
<Data Name="AppPath">C:\Apache24\bin\httpd.exe</Data>
<Data Name="ModulePath">C:\php8\php8ts.dll</Data>
<Data Name="IntegratorReportId">9aca63ef-8422-4bf3-8792-8051bb6a5838</Data>
<Data Name="PackageFullName">
</Data>
<Data Name="PackageRelativeAppId">
</Data>
</EventData>
</Event>

Log Name: Application
Source: Windows Error Reporting
Date: 2/26/2026 8:06:32 AM
Event ID: 1001
Task Category: None
Level: Information
Keywords:
User: SYSTEM
Computer: W
Description:
Fault bucket 1889557889876781879, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: httpd.exe
P2: 2.4.66.0
P3: 699c17d8
P4: php8ts.dll
P5: 8.5.1.0
P6: 69428cfc
P7: c0000005
P8: 000000000063ef53
P9:
P10:

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.ed7320af-34de-475c-918d-946f50c2c560.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.c39c1aa3-ec88-473e-80c2-f35f15076dde.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.0823bf4e-c11e-43fb-8697-adead3ee30a0.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.e7eff814-f284-4032-be99-485c9dd6b0c6.tmp.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.07d5f082-c5a4-4292-a3d7-ad84c74d4431.tmp.xml

These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_httpd.exe_877c2abc41e41c5ce386679def9b92a1aa7be92_f2d4f317_a0e73607-c394-4302-94a5-35fb32d0513b

Analysis symbol:
Rechecking for solution: 0
Report Id: 9aca63ef-8422-4bf3-8792-8051bb6a5838
Report Status: 268435456
Hashed bucket: b8958840455afea5da390ee3b8a46b37
Cab Guid: 0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Error Reporting" Guid="{0ead09bd-2157-539a-8d6d-c87f95b64d70}" />
<EventID>1001</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2026-02-26T13:06:32.0834946Z" />
<EventRecordID>47874</EventRecordID>
<Correlation />
<Execution ProcessID="20380" ThreadID="18156" />
<Channel>Application</Channel>
<Computer>W</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="Bucket">1889557889876781879</Data>
<Data Name="BucketType">4</Data>
<Data Name="EventName">APPCRASH</Data>
<Data Name="Response">Not available</Data>
<Data Name="CabId">0</Data>
<Data Name="P1">httpd.exe</Data>
<Data Name="P2">2.4.66.0</Data>
<Data Name="P3">699c17d8</Data>
<Data Name="P4">php8ts.dll</Data>
<Data Name="P5">8.5.1.0</Data>
<Data Name="P6">69428cfc</Data>
<Data Name="P7">c0000005</Data>
<Data Name="P8">000000000063ef53</Data>
<Data Name="P9">
</Data>
<Data Name="P10">
</Data>
<Data Name="AttachedFiles">
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.ed7320af-34de-475c-918d-946f50c2c560.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.c39c1aa3-ec88-473e-80c2-f35f15076dde.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.0823bf4e-c11e-43fb-8697-adead3ee30a0.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.e7eff814-f284-4032-be99-485c9dd6b0c6.tmp.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.07d5f082-c5a4-4292-a3d7-ad84c74d4431.tmp.xml</Data>
<Data Name="StorePath">\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_httpd.exe_877c2abc41e41c5ce386679def9b92a1aa7be92_f2d4f317_a0e73607-c394-4302-94a5-35fb32d0513b</Data>
<Data Name="AnalysisSymbol">
</Data>
<Data Name="Rechecking">0</Data>
<Data Name="ReportId">9aca63ef-8422-4bf3-8792-8051bb6a5838</Data>
<Data Name="ReportStatus">268435456</Data>
<Data Name="HashedBucket">b8958840455afea5da390ee3b8a46b37</Data>
<Data Name="CabGuid">0</Data>
</EventData>
</Event>]

I can confirm that reverting the php version from 8.5.1 back to 8.4.6 clears the issue completely. Something has changed in php 8.5 that doesn't seem to be documented. Hope this helps.
Back to top
danielruf



Joined: 07 Jan 2026
Posts: 12

PostPosted: Thu 26 Feb '26 15:56    Post subject: Reply with quote

nghttp2 is not the culprit and its version is not rtelevant

mod_h2 or mod_http2 uses nghttp2 (a C library):
https://github.com/nghttp2/nghttp2

https://github.com/apache/httpd/blob/93db46921d32b60116730d53509682da00d3c515/modules/http2/h2.h#L23

Bit the bug itself is in the module mod_http2.

In particular it looks like that:
* Apache http includes mod_http2 / mod_h2
* mod_http2 / mod_h2 itself has a bug in h2_session.c (https://github.com/icing/mod_h2/commit/4568d7120ff9bb223c3a32a191b25589e705158a)
* mod_http2 / mod_h2 uses the library nghttp2, but the relevant code is not from libnghttp2, at least the changes use no nghttp... functions

The code changes involce APR (https://github.com/apache/apr) function calls like apr_pool_create and the APR memory allocator calls clashed with other modules leading to the observed problems.

At least this is what my current understanding of the situation is.
Back to top
danielruf



Joined: 07 Jan 2026
Posts: 12

PostPosted: Thu 26 Feb '26 15:59    Post subject: Reply with quote

@tmabell, exitcode 3221225477 seems to be something different (some access violation error)

the current reported problem revolves around a bug in the http2 module, which occurs after some days of a running Apache instance

if your issue is solely related to the PHP version, please try to report it at https://github.com/php/php-src/issues

because I can only find old issues with this exitcode in the http module repo:
* https://github.com/icing/mod_h2/issues/223
* https://github.com/icing/mod_h2/issues/148

so likely something different (try to disable module for module and create a small reproducible example to find the root cause)
Back to top
danielruf



Joined: 07 Jan 2026
Posts: 12

PostPosted: Thu 26 Feb '26 16:10    Post subject: Reply with quote

@tmabell did you already try the stacksize solution, that was also recommended in other posts of this topic and elsewhere?

https://stackoverflow.com/a/34452918

I have a setup with the following setting:
<IfModule mpm_winnt_module>
ThreadStackSize 8388608
</IfModule>
Back to top
tmabell



Joined: 23 Jun 2023
Posts: 13
Location: Mishawaka, IN

PostPosted: Thu 26 Feb '26 17:40    Post subject: Reply with quote

@danielruf I have not yet tried the ThreadStackSize solution because not a single thing changed in my configs or the web page using Apache. This is why I felt that it was a php version issue. If you think it's worth a shot I will do it.
Back to top
danielruf



Joined: 07 Jan 2026
Posts: 12

PostPosted: Thu 26 Feb '26 17:55    Post subject: Reply with quote

tmabell wrote:
@danielruf I have not yet tried the ThreadStackSize solution because not a single thing changed in my configs or the web page using Apache. This is why I felt that it was a php version issue. If you think it's worth a shot I will do it.


Opening an issue regarding the regression caused by the PHP version, yes please open an issue at https://github.com/php/php-src/issues so that the PHP core developers can check that.
Back to top
tmabell



Joined: 23 Jun 2023
Posts: 13
Location: Mishawaka, IN

PostPosted: Thu 26 Feb '26 17:57    Post subject: Reply with quote

Done and thank you!
Back to top


Reply to topic   Topic: Apache 2.4.66 VS18 httpd crashes PHP 8.5.1 View previous topic :: View next topic
Post new topic   Forum Index -> Apache Page Previous  1, 2, 3, 4, 5