php8-fpm is crashing with CommonCrypto on 10.11 El Capitan

Abierto
#25,450 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
62/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
c, macos, php
Área
backend, security

Línea de trabajo

Start with ext/random/csprng.c and the HAVE_COMMONCRYPTO_COMMONRANDOM_H condition mentioned in the report. Reproduce the first id call crash with php8.4-fpm on macOS 10.11, then compare behavior with the reported conditional disabled. Done means the crash is resolved without breaking random-number generation on the supported systems.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Bug Status: Needs Triage
Description

Hello,
please look at the ticket https://trac.macports.org/ticket/74304
php8.4-fpm will compile without errors, but crash on the first id call (I run Nginx)
summary, replacing #if HAVE_COMMONCRYPTO_COMMONRANDOM_H with #if 0 in /ext/random/csprng.c heals the crash.
From my understanding this is necessary before 10.12
I tried 8.3 and 8.4 the patch works for both.
cheers
Matthias

PHP Version
PHP 8.4.27 (cli) (built: Oct 22 2026 16:13:55) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.27, Copyright (c) Zend Technologies
    with Zend OPcache v8.4.27, Copyright (c), by Zend Technologies
note: php-fpm is the same version.
Operating System

macOS 10.11 elCapitan

Lenguaje dominante
C
Estrellas
41.8k
Forks
8.6k
Merge medio
2 d 15 h
PR fusionados (30 d)
125

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de php/php-src

Todos los issues de php/php-src

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.