YellowboxNL

Registered
Feb 18, 2012
4
0
51
cPanel Access Level
DataCenter Provider
I'm trying to install Imangemagick on cpanel, but got the following error:

running: make INSTALL_ROOT="/root/tmp/pear/pear-build-rootEH0V08/install-imagick-3.7.0" install
Parse /root/tmp/pear/imagick/ImagickPixelIterator.stub.php to generate /root/tmp/pear/imagick/ImagickPixelIterator_arginfo.h
make: *** [Makefile:195: /root/tmp/pear/imagick/ImagickPixelIterator_arginfo.h] Error 255
ERROR: `make INSTALL_ROOT="/root/tmp/pear/pear-build-rootEH0V08/install-imagick-3.7.0" install' failed

I get this error by running : /opt/cpanel/ea-php81/root/usr/bin/pecl install imagick

But when we run "/opt/cpanel/ea-php82/root/usr/bin/pecl install imagick" it's installing without any warnings and successfull added.

Same when we try it though WHM, the PHP81 fails, en PHP82 works, but we need it for PHP81 !

More people have this problem? And did anyone solve it?

Regards,
Harland
 

YellowboxNL

Registered
Feb 18, 2012
4
0
51
cPanel Access Level
DataCenter Provider
Problem is solve, Think there was something wrong in the php.ini

Solution, but not found the problem:
cd /opt/cpanel/ea-php81/root/etc
cp php.ini php.ini.backup
cp /opt/cpanel/ea-php82/root/etc/php.ini php.ini
changed the session.save_path back to "/var/cpanel/php/sessions/ea-php81"
/opt/cpanel/ea-php81/root/usr/bin/pecl install imagick

And it works.

After that i copied back the old php.ini, have to look in it what may cause the problem.