Skip to content

Commit

Permalink
Merge pull request #91 from ho-nl/feature/fix-imagick-pecl-install
Browse files Browse the repository at this point in the history
Fix imagick install
  • Loading branch information
hnsr authored Oct 26, 2021
2 parents 99d95b8 + a692a55 commit e7329c2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ install_php() {
sed -i '' "s/^listen = 127.0.0.1:$PHPFPM/listen = 127.0.0.1:$XPHPFPM/g" /usr/local/etc/php/"$PHPVERSION"/php-fpm-xdebug.d/www.conf

echo "Installing Imagick for PHP"
pecl install imagick
# We pipe `yes ''` into pecl, as imagick asks for input during compilation and would otherwise get stuck.
yes '' | $PHPDIR/bin/pecl upgrade imagick

echo "[$PHP] ✅ Installed"
echo ""
Expand Down Expand Up @@ -262,9 +263,12 @@ done
echo "
If everything went well the 'err' column should be 0. You can now see these processes in activity monitor. 🎉
In case the PHP 7.2 services failed to start, this may be due to a known issue, refer to the README for a possible
workaround.
pid err name
"
launchctl list | grep reach
launchctl list | grep reachdigital

echo "
🎉 Done"

0 comments on commit e7329c2

Please sign in to comment.