Skip to content

Commit 0797a09

Browse files
committed
fix(php): install mbstring extension in php-fpm base images
composer install failed for php-fpm targets because stripe/stripe-php requires ext-mbstring, which wasn't installed. apache-mod targets were unaffected since they use the official PHP image, which bundles it.
1 parent 0beb187 commit 0797a09

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/build/docker/php/php-fpm/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ nala update
3131
printf '#!/bin/sh\n\nexit 101\n' > /usr/sbin/policy-rc.d
3232
chmod +x /usr/sbin/policy-rc.d
3333

34-
nala install -y --no-install-recommends tzdata publicsuffix curl apache2 libapache2-mod-fcgid jq ca-certificates git unzip php$PHP_VERSION-fpm php$PHP_VERSION-curl apache2 php$PHP_VERSION-mysql php$PHP_VERSION-pgsql php$PHP_VERSION-xml php$PHP_VERSION-mongodb
34+
nala install -y --no-install-recommends tzdata publicsuffix curl apache2 libapache2-mod-fcgid jq ca-certificates git unzip php$PHP_VERSION-fpm php$PHP_VERSION-curl apache2 php$PHP_VERSION-mysql php$PHP_VERSION-pgsql php$PHP_VERSION-xml php$PHP_VERSION-mongodb php$PHP_VERSION-mbstring
3535

3636
rm -rf /usr/sbin/policy-rc.d
3737
rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)