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 Dec 20, 2024
2 parents 15035cc + 6dd6d5c commit f16d269
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion php-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,15 @@ esac

case $PHP_VERSION in
8.4*)
echo "skipping imagick on PHP 8.4"
curl -L -o /tmp/imagick.tar.gz https://github.com/Imagick/imagick/archive/tags/3.7.0.tar.gz \
&& tar --strip-components=1 -xf /tmp/imagick.tar.gz \
&& sed -i 's/php_strtolower/zend_str_tolower/g' imagick.c \
&& phpize \
&& ./configure \
&& make \
&& make install \
&& echo "extension=imagick.so" > /usr/local/etc/php/conf.d/ext-imagick.ini \
&& rm -rf /tmp/imagick*
;;
8.3)
curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
Expand Down

0 comments on commit f16d269

Please sign in to comment.