相关疑难解决方法(0)

Docker + PHP:8.1.1-FPM 如何安装 imagick php 扩展?

尝试安装适用于 php 8.1.1 的 imagick。

Dockerfile在我的下面的图片中composer install出现以下错误:

Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - Root composer.json requires PHP extension ext-imagick ^3.6 but it is missing from your system. Install or enable PHP's imagick extension.

To enable extensions, verify that they are enabled in your .ini files:
    - 
    - /usr/local/etc/php/conf.d/docker-php-ext-apcu.ini …
Run Code Online (Sandbox Code Playgroud)

php imagick docker

10
推荐指数
1
解决办法
3万
查看次数

标签 统计

docker ×1

imagick ×1

php ×1