Last active
January 28, 2020 13:58
-
-
Save grumpysi/2322db1b87ef88a80c5b08f94a827bd9 to your computer and use it in GitHub Desktop.
Install Imagemagick on Laravel Homestead box Ubuntu 14 + PHP 7.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update && sudo apt-get install -y imagemagick php-imagick && sudo service php7.0-fpm restart && sudo service apache2 restart |
Updated
If you have Nginx installed instead of Apache
Replace sudo service apache2 restart
with sudo service nginx restart
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
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