Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

PIE checksum fails with Ubuntu PHP 8.1.2 package

Abierto
#757 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
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
38/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
php

Línea de trabajo

No source files or tests are named. Start by reproducing the failure with Ubuntu's PHP 8.1.2-1ubuntu2.26 package and comparing hash_file() reflection and checksum behavior with the official PHP 8.1.34, 8.4.26, and 8.5.11 installations. Done means preserving checksum verification while handling the distribution-specific signature without dropping arguments on supported PHP versions.

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

Descripción

Scope

This checksum failure was reproduced with Ubuntu's 8.1.2-1ubuntu2.26 PHP package in the original test container. That binary exposes a hash_file() signature with only three parameters. This should not be generalized to all PHP 8.1 builds.

PHP 8.1 API verification

The fourth array $options = [] parameter was added to native hash_file() in PHP 8.1 (PHP.Watch). The official php:8.1-cli-bookworm image (PHP 8.1.34) reflects four parameters and accepts the four-argument call.

PIE 1.5.1 also successfully built, installed, checksum-verified, and loaded the extension from a local source repository under PHP 8.1.34 with CUDA enabled. PHP 8.4.26 and 8.5.11 installs passed as well.

Follow-up

The proposed Safe PR #757 was closed because its PHP < 8.5 branch would drop a documented argument on PHP 8.1-8.4. If this Ubuntu package mismatch needs continued tracking, it should be investigated as a distribution-specific PHP build issue, potentially with runtime feature detection. Checksum verification must not be disabled.

Lenguaje dominante
PHP
Estrellas
2k
Forks
74
Merge medio
6 h 35 min
PR fusionados (30 d)
12

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/pie

Todos los issues de php/pie

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.