我正试图使用这个pecl命令安装GraphicsMagick的PHP API:
sudo pecl install channel://pecl.php.net/gmagick-1.0.10b1
在安装过程中,我被问到了这个问题:
Please provide the prefix of GraphicsMagick installation [autodetect]
我不知道如何回答这个问题,如果我只是按下回车键进行自动检测,安装就会失败。
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服务器,请问如何安装这个程序?