-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Trying to install imagick with PHP 8.5, I get the error
/tmp/pear/temp/imagick/imagick.c:28:10: fatal error: ext/standard/php_smart_string.h: No such file or directory
I tried debian and alpine. Log files are attached to this issue
FROM php:8.5-fpm-bookworm AS base
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
gcc \
g++ \
make \
autoconf \
libc-dev \
pkg-config \
libmagickwand-dev \
&& pecl install imagick \
&& docker-php-ext-enable imagick
and
FROM php:8.5-fpm-alpine3.22 AS base
RUN apk update && \
apk add --no-cache \
gcc \
g++ \
make \
autoconf \
libc-dev \
imagemagick-dev \
&& pecl install imagick \
&& docker-php-ext-enable imagick
Metadata
Metadata
Assignees
Labels
No labels