Skip to content

Commit

Permalink
Merge branch 'main' into eiriksm-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm authored Nov 15, 2024
2 parents d84168f + bdc3ae4 commit 4b7cc22
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions php-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ set -eu
apk add --no-cache unixodbc-dev gmp-dev yaml-dev ldb-dev libldap openldap-dev pcre-dev libxslt-dev imap-dev sudo git libpng libjpeg libpq libxml2 mysql-client openssh-client rsync patch bash imagemagick libzip-dev \
imagemagick-libs imagemagick-dev librdkafka-dev autoconf g++ make icu-dev libpng-dev libjpeg-turbo-dev postgresql-dev libxml2-dev bzip2-dev icu icu-dev libmemcached-dev linux-headers $PHPIZE_DEPS

if [ $PHP_VERSION = "8.1" ] || [ $PHP_VERSION = "8.2" ] || [ $PHP_VERSION = "8.3" ]
then
case $PHP_VERSION in
8.3|8.2|8.1)
apk add --no-cache mpdecimal-dev
else
;;
*)
wget https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz
tar -xvzf mpdecimal-2.5.1.tar.gz
cd mpdecimal-2.5.1
Expand All @@ -15,7 +16,8 @@ else
make install
cd ..
rm -rf mpdecimal-2.5.1*
fi
;;
esac

pecl channel-update pecl.php.net

Expand Down

0 comments on commit 4b7cc22

Please sign in to comment.