• Neither the PHP extension is found, nor is the executable. Can’t use the plugin. This is on WordPress 6.2 with PHP 8.2.4.

    I have installed the extension as described on the Github page.

    $ php -i | grep imagick
    imagick
    imagick module => enabled
    imagick module version => @PACKAGE_VERSION@
    imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel
    imagick.allow_zero_dimension_images => 0 => 0
    imagick.locale_fix => 0 => 0
    imagick.progress_monitor => 0 => 0
    imagick.set_single_thread => 1 => 1
    imagick.shutdown_sleep_count => 10 => 10
    imagick.skip_version_check => 0 => 0
    

    The executable is also there:

    $ which convert
    /usr/bin/convert
    

    What should I check? Any suggestions are appreciated.

    Regards

    • This topic was modified 1 year, 7 months ago by duise.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rickard Westerlind

    (@rickardw)

    Are you running a self-hosted server? Since the PHP extension is not recognized it could be something with multiple PHP-versions on the server?

    Thread Starter duise

    (@duise)

    self-hosted: yes, multiple PHP-versions: no

    Actually I fully uninstalled PHP 7.4 before installing PHP 8.2.4. The only thing I should note is that php-imagick wasn’t available as an rpm package, so I installed it from source:

    sudo zypper install ImageMagick-devel
    
    cd ~/src
    git clone https://github.com/Imagick/imagick
    cd imagick
    ./configure
    make
    sudo make install

    Then I edited the php.ini and added this line:

    extension=imagick.so
    • This reply was modified 1 year, 7 months ago by duise.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Installed imagick is not being recognized’ is closed to new replies.