ImageMagick module not available with this PHP installation on Laravel 5.4 with PHP 7

前端 未结 1 1517
误落风尘
误落风尘 2020-12-19 03:19

Currently, I have cloned a project. I have PHP 7 on Ubuntu 14.04 64-bit.

The ImageMagick library is installed using the following command

sudo apt-         


        
相关标签:
1条回答
  • 2020-12-19 03:32

    You have to add extension=imagick.so in your php.ini file.

    • Location:

    You can do some thing like this for the fastest way:

    php -i | grep 'php.ini'
    

    The result is like that:

    Loaded Configuration File => /usr/local/lib/php.ini
    

    Or call <?php phpinfo(); ?> from some php file to get this information :)

    PS: Source

    0 讨论(0)
提交回复
热议问题