[oi-dev] Apache24 PHP 8.4+ segfault

Stephan Althaus Stephan.Althaus at Duedinghausen.eu
Thu Oct 22 19:12:05 UTC 2026


Hi!

First of all thanks for the fast update of the php packages!


I tried to switch from php 8.3 to 8.4/8.5 with apache,
but it segfaults like this:

[Thu Oct 22 21:00:34.111424 2026] [so:debug] [pid 11926:tid 1] 
mod_so.c(266): AH01575: loaded module php_module from 
/usr/apache2/2.4/libexec/mod_php84.so
Segmentation Fault         /usr/apache2/2.4/bin/httpd -X -e debug

with 8.4 and 8.5, with the php packages installed. At least, i would 
expect an error message in a log, not a segfault (?)


Please, if you have hints how to diagnose that:

# ls -l /usr/apache2/2.4/core
-rw-------   1 root     root     120263485 Oct 22 20:45 
/usr/apache2/2.4/core

# pstack /usr/apache2/2.4/core
core '/usr/apache2/2.4/core' of 10935:  /usr/apache2/2.4/bin/httpd -k start
  00007fff8ddf79d1 sapi_register_post_entry () + 31
  00007fff8ddf7b3a sapi_register_post_entries () + 2a
  00007fff8ddeaa10 php_setup_sapi_content_types () + 10
  00007fff8dddb420 tsrm_update_active_threads () + b0
  00007fff8dddba4f ts_allocate_fast_id () + df
  00007fff8dfa8f8f php_apache_server_startup () + 8f
  00000000004781c3 ap_run_post_config () + 63
  000000000044ad14 main () + a74
  0000000000449a37 _start_crt () + 87
  0000000000449998 _start () + 18


I will have another look at it tomorrow.


Regards,

Stephan





More information about the oi-dev mailing list