Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing PHP PECL "imagick" imagick-3.7.0 on PHP 8.4 Failing #709

Open
kandihost opened this issue Jan 14, 2025 · 10 comments
Open

Installing PHP PECL "imagick" imagick-3.7.0 on PHP 8.4 Failing #709

kandihost opened this issue Jan 14, 2025 · 10 comments

Comments

@kandihost
Copy link

kandihost commented Jan 14, 2025

Anyone can help when trying to install imagick on my WHM I get the error message below:

ERROR: `make INSTALL_ROOT="/root/tmp/pear/pear-build-rootliaujf8imepg3fKayrU/install-imagick-3.7.0"
install' failed

I have successfully installed it for PHP 8.0 on same server

image

but not able to install the same module for PHP 8.4

image

@playtheman
Copy link

It doesn't support php8.4 version yet. We are all waiting for the update.

@kandihost
Copy link
Author

It doesn't support php8.4 version yet. We are all waiting for the update.

Thank you for your reply,
What is the latest PHP version it supports? I tried on PHP 8.3 and the same error

@playtheman
Copy link

8.3 is supported according to the official website..

Screenshot 2025-01-15 142314

@Kiina
Copy link

Kiina commented Jan 16, 2025

It doesn't support php8.4 version yet. We are all waiting for the update.

Thank you for your reply, What is the latest PHP version it supports? I tried on PHP 8.3 and the same error

Probably related to #641. If you are lucky it might install from time to time. The development branch should fix it but it hasn't been released on pecl yet

@kandihost
Copy link
Author

It doesn't support php8.4 version yet. We are all waiting for the update.

Thank you for your reply, What is the latest PHP version it supports? I tried on PHP 8.3 and the same error

Probably related to #641. If you are lucky it might install from time to time. The development branch should fix it but it hasn't been released on pecl yet

Thank you for the info, however, I have installed it normally on PHP 8.2 using pecl and decided to use PHP 8.2 for the time being until a stable version and fix released for 8.4.

@playtheman
Copy link

playtheman commented Jan 17, 2025

It doesn't support php8.4 version yet. We are all waiting for the update.

Thank you for your reply, What is the latest PHP version it supports? I tried on PHP 8.3 and the same error

Probably related to #641. If you are lucky it might install from time to time. The development branch should fix it but it hasn't been released on pecl yet

Thank you for the info, however, I have installed it normally on PHP 8.2 using pecl and decided to use PHP 8.2 for the time being until a stable version and fix released for 8.4.

There are some fixes available in this community, I have found one for my issue for example.. also was not able to use it with php 8.4 but I'll have to change everything manually and it might not be stable after that. So yeah... we should wait a bit

@Inscure
Copy link

Inscure commented Jan 30, 2025

When it will be fixed?

@shawnnaquin
Copy link

This seems to be ready for php8.4 in windows. and works for me in docker debian official php docker image.

windows, see the 8.4 support:
https://pecl.php.net/package/imagick/3.7.0/windows

for the official docker php image it installed fine for me. but still not available with a simple pecl install imagick
--see the "other extensions" section: https://hub.docker.com/_/php

# see the "other extensions" section: https://hub.docker.com/_/php 
RUN set -ex \
    && curl -fsSL 'https://pecl.php.net/get/imagick-3.7.0.tgz' -o imagick.tar.gz \
    && mkdir -p imagick \
    && tar -xf imagick.tar.gz -C imagick --strip-components=1 \
    && rm imagick.tar.gz \
    && ( \
        cd imagick \
        && phpize \
        && ./configure \
        && make -j "$(nproc)" \
        && make install \
    ) \
    && rm -r imagick \
    && docker-php-ext-enable imagick

I was able to also install on a local machine with php8.4 without docker which worked fine.

@Wirone
Copy link

Wirone commented Feb 12, 2025

FYI: Currently I am researching the possibility of upgrading our app to PHP 8.4 and I was able to successfully install Imagick 3.7.0 using workaround we did for 8.3. So it seems like Imagick is not a blocker for us 🙂.

@Elompenta
Copy link

The new PHP 8.4 Package from the PECL Website works fine for me :-)
https://pecl.php.net/package/imagick/3.7.0/windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants