[BlueOnyx:21583] Re: no imagick module possible in solarspeed php 7.0.24

Michael Stauber mstauber at blueonyx.it
Thu Dec 14 12:08:21 -05 2017


Hi Dirk,

> I did install today php 7.0.24 at an 5209R.
> Additional I did a /home/solarspeed/php-7.0/bin/pecl install imagick
> (yes enabled /tmp execution before).
> Build was running, package was installed. I added an additional /home/solarspeed/php-7.0/etc/php.d ini-file (complete path).
> I can see with php -i that ini files is included but with php -m I cannot see the module. Also if I try to use a class from the module the class cannot be found.
> I tried at different servers with php 7.0.6 -> working and 7.0.12 -> working.
> But with 7.0.24 it is not working.
> Maybe a PHP bug?
> Maybe a Solarspeed build bug?

I just checked the package, the build environment and my build notes.

When I built the first PHP-7.0 package, Imagick wasn't yet in PECL for
the 7.0 tree. Hence the PKG got built without Imagick support until now.

I'll add it in the next version of PHP-7.0, which I'm building either
today or tomorrow. I think it's also absent in 7.1 at this point for the
same reasons and that'll get addressed as well.

The temporary work around is this:

/home/solarspeed/php-7.0/bin/pecl install imagick

Then create the file ...

/home/solarspeed/php-7.0/etc/php.d/pdo.ini

... and put this into it and save the changes:

extension = /home/solarspeed/php-7.0/lib/php/20151012/pdo.so

Then check with ...

/home/solarspeed/php-7.0/bin/php -m|grep imagick

... and you will see that it's now present.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list