Closed CanvasCompanyHylke closed 4 months ago
2.2.17
The http extension fails to install. It tries to include gcrypt.h during compiling, which isn't present.
http
gcrypt.h
30.54 /tmp/pear/temp/pecl_http/src/php_http_curl.c:28:33: fatal error: gcrypt.h: No such file or directory 30.54 28 | # include <gcrypt.h> 30.54 | ^~~~~~~~~~ 30.54 compilation terminated.
php:8.3.8-zts
FROM php:8.3.8-zts # Copy PHP extension install script COPY --link --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/ # Install the needed PHP extensions RUN set -eux; install-php-extensions http;
Thanks for the report. This issue only occurs in docker images containing the ZTS version of PHP.
Version of install-php-extensions
2.2.17
Error description
The
http
extension fails to install. It tries to includegcrypt.h
during compiling, which isn't present.Docker image
php:8.3.8-zts
Minimal Dockerfile