-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
I have a project that uses the php:8.2-fpm image. My projects works fine on my PC that's running under Debian 12 but it throws an error on a Mac running macOS 15.1 Sequoia with an Apple M1 chip.
My program uses the grapheme_strlen function, the error says "Call to undefined function grapheme_strlen()". The error is thrown with PHP 8.2.15 and PHP 8.3.13, but only on the Mac: no problem on the Debian PC running PHP 8.2.15 (x86_64) and in production (Debian too).
To be more precise, my project uses the php image in a Dockerfile:
FROM php:8.2-fpm
RUN docker-php-ext-install -j$(nproc) pdo_mysql
RUN apt-get update; \
apt-get install -y libmagickwand-dev libzip4 libzip-dev; \
pecl install imagick; \
docker-php-ext-enable imagick;
RUN docker-php-ext-configure intl \
&& docker-php-ext-install intl
RUN docker-php-ext-configure exif \
&& docker-php-ext-install exif
RUN docker-php-ext-configure zip \
&& docker-php-ext-install zip
Metadata
Metadata
Assignees
Labels
No labels