Docker Mount Php7 Imagick

Source: Internet
Author: User
Docker PHP-FPM 7 + Yii 2.0
After Docker pull daocloud.io/php:7.0.2-fpm, Yii
In addition to the mbstring not initialized installation, Imagick is not installed well.

Installation method:
1 Download the latest version of the source code from Https://pecl.php.net/package/imagick.
After decompression:

makemake install

Because the default mirroring system is Debian 8, use the following command:

apt-get install libmagickwand-dev libmagickcore-dev

Load the dependency package first.

Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20151012/header files:          /usr/local/include/php/

The last two lines suggest expanding the location of the installation. It needs to be written into php.ini and restarted php-fpm to take effect.
If you do not have a/usr/local/etc/php/php.ini, you can copy it here first:

/usr/src/php/php.ini-development/usr/src/php/php.ini-production

This will solve:

extensionwithorextensionwithis required.

'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i <= lines; i++) {$numbering. Append ($ ('
  • '). Text (i)); }; $numbering. FadeIn (1700); }); });

    The above describes the Docker installation PHP7 Imagick, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.