• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

ImageMagick configuration on multi Php

kude

New Pleskian
Hello, I installed another php version a while ago. Today I am trying to add ImageMagick to this php version but after launching the following command

Code:
./configure '--with-libdir=lib64' '--cache-file=../config.cache' '--prefix=/usr/local/php-5.6.5' '--with-config-file-path=/usr/local/php-5.6.5/etc' '--disable-debug' '--with-pic' '--disable-rpath' '--enable-fastcgi' '--with-bz2' '--with-curl' '--with-freetype-dir=/usr/local/php-5.6.5' '--with-png-dir=/usr/local/php-5.6.5' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr/local/php-5.6.5' '--with-openssl' '--with-pspell' '--with-pcre-regex' '--with-zlib' '--enable-exif' '--enable-ftp' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-wddx' '--with-kerberos' '--with-unixODBC=/usr' '--enable-shmop' '--enable-calendar' '--without-sqlite3' '--with-libxml-dir=/usr/local/php-5.6.5' '--enable-pcntl' '--enable-mbstring' '--enable-mbregex' '--with-gd' '--enable-bcmath' '--with-xmlrpc' '--with-mysql=/usr' '--with-mysqli' '--with-snmp' '--enable-soap' '--with-xsl' '--enable-xmlreader' '--enable-xmlwriter' '--enable-pdo' '--with-pdo-mysql' '--with-pdo-pgsql' '--with-pear=/usr/local/php-5.6.5/pear' '--with-mcrypt' '--enable-intl' '--enable-imagick'  '--without-pdo-sqlite' '--with-config-file-scan-dir=/usr/local/php-5.6.5/php.d'

it sends me back this error configure:
Code:
WARNING: unrecognized options: --enable-fastcgi, --enable-imagick
Could you help me, please?
 
Hi kude,

please have a look at the warning:
WARNING: unrecognized options: --enable-fastcgi, --enable-imagick

Please read the manual, when compiling PHP:

http://php.net/manual/en/configure.about.php
...
--enable-fastcgi
If this is enabled, the CGI module will be built with support for FastCGI also.

As of PHP 5.3.0 this argument no longer exists and is enabled by --enable-cgi instead.


For imagick, it is easier to use PECL:

pear config-set preferred_state beta
pecl install imagick

If you don't have "PEAR" and "PECL" installed, please install it first on your system. with for example: "apt-get install php-pear php5-dev" ( or equivalent commands instead of "apt-get" depending on your system )
 
Back
Top