【发布时间】:2012-01-27 10:24:14
【问题描述】:
我正在尝试使用此 pecl 命令为 GraphicsMagick 安装 PHP API:
sudo pecl install channel://pecl.php.net/gmagick-1.0.10b1
在安装过程中我被问到这个问题:
Please provide the prefix of GraphicsMagick installation [autodetect]
我不知道如何回答这个问题,如果我只是按 Enter 进行自动检测,安装会失败。
checking whether to enable the gmagick extension... yes, shared
checking GraphicsMagick configuration program... configure: error: not found. Please provide a path to GraphicsMagick-config program.
ERROR: `/tmp/pear/temp/gmagick/configure --with-gmagick' failed
我使用的是 ubuntu 服务器,有谁知道如何安装这个程序?
【问题讨论】:
标签: php linux imagemagick pear graphicsmagick