Skip to content

Instantly share code, notes, and snippets.

@grumpysi
Last active January 28, 2020 13:58
Show Gist options
  • Save grumpysi/2322db1b87ef88a80c5b08f94a827bd9 to your computer and use it in GitHub Desktop.
Save grumpysi/2322db1b87ef88a80c5b08f94a827bd9 to your computer and use it in GitHub Desktop.
Install Imagemagick on Laravel Homestead box Ubuntu 14 + PHP 7.0
sudo apt-get update && sudo apt-get install -y imagemagick php-imagick && sudo service php7.0-fpm restart && sudo service apache2 restart
@jatorresdev
Copy link

It worked for me, added an improvement

sudo apt-get update && sudo apt-get install -y imagemagick php-imagick && sudo service php7.0-fpm restart && sudo service apache2 restart

@grumpysi
Copy link
Author

Updated

@EdgarOrtegaRamirez
Copy link

If you have Nginx installed instead of Apache

Replace sudo service apache2 restart with sudo service nginx restart

@ryancwalsh
Copy link

Thank you so much!

sudo apt-get update && sudo apt-get install -y imagemagick php-imagick && sudo service php7.2-fpm restart && sudo service nginx restart is what worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment