exif and imagick installation

It's a good find, and ofcourse a good recommendation to others.

Maybe it's also possible that DA can fix this in custombuild for systems with multiple php versions.
 
Directadmin only uses /usr/local/lib/php.ini on Centos servers, however on our newly installed Centos 7 server that is also the only one present from DA,[cut]

Don't you have /usr/local/php72/lib/php.conf.d/10-directadmin.ini? (replace php72 with your php version) Check if imagick.so is added there.
 
Don't you have /usr/local/php72/lib/php.conf.d/10-directadmin.ini?
No in my case it's in /usr/local/lib/php.conf.d/10-directadmin.ini directory. And it's stated in there indeed. So you're correct.
 
You should also have /usr/local/php72/lib/php.conf.d/10-directadmin.ini (replace php72 with your php version).

In my case I have both /usr/local/php72/lib/php.conf.d/10-directadmin.ini and /usr/local/lib/php.conf.d/10-directadmin.ini, however it is /usr/local/php72/lib/php.conf.d/10-directadmin.ini that is used for PHP 7.2.x on my servers, and not /usr/local/lib/php.conf.d/10-directadmin.ini
 
You should also have /usr/local/php72/lib/php.conf.d/10-directadmin.ini (replace php72 with your php version).
No I don't on both newly installed servers and neither on both VPS systems. Maybe because we only use 1 php version.
 
Strange. I am also only using one PHP version (php-fpm). Maybe DirectAdmin has made som changes that only affect new installs.
 
Little update, I now also see it loaded in /usr/local/lib/php.conf.d/10-directadmin.ini and /usr/local/php73/lib/php.conf.d/10-directadmin.ini (for mod_ruid and my php-fpm 7.3).

And it complained it was now being loaded twice, so I removed my instances in the php.ini's. I guess CB had put it there after some update/rewrite.
 
I notice that Centos8 use GraphicsMagick (the latest forked of ImageMagick) and don't have ImageMagick repo by default. Hope that custombuild can include this as well. Thanks.
 
thanks
looks like it only took 18 years..
 
You're probably in this forum because a WordPress Site Health Analysis provided a Recommended Improvement:
"Warning The optional module, Imagick, is not installed, or has been disabled." (FYI, the word "warning appears in yellow microprint and appears to be a yellow 'em-dash'; you can only see the term by copy/paste into a text editor.)

The ImageMagick extension, called Imagick when referring to the PHP extension, is a native PHP extension to create and modify images using the ImageMagick API. Do I/you need this??

I figured the easiest way to add the php extension would be through WHM -> EasyApache 4, but don't bother, Imagick is not there.

You can add it through WHM -> Software -> Module Installers -> PHP PECL -> (search) Imagick

But:
1) the latest version is 3.4.4 (2019-05-02)
"The 3.4.4 release is intended to be the last release (other than small bug fixes) that will support either PHP 5.x, or ImageMagick 6.x. The next planned release will be PHP > 7.0 and ImageMagick > 7.0 at least, if not higher."
[see: http://pecl.php.net/package/imagick]
[see: http://pecl.php.net/package-changelog.php?package=imagick&release=3.4.4]

2) Confusingly, the Imagick Extension description also refers to a similar name product - "ImageMagick" with a different version number; don't confuse these:
"Imagick is a native php extension to create and modify images using the ImageMagick API. This extension requires ImageMagick version 6.5.3-10+ and PHP 5.4.0+."
[see: http://pecl.php.net/package/imagick]

3) I noted, through the above pathway and search, that Imagick 3.4.4 was installed in my php 7.2 folder [/opt/cpanel/ea-php72/root/usr/lib64/php/modules] but not my 7.3 folder. I remain hesitant to install it in 7.3 as it appears Imagick 3.4.4 is EOL and I have not found any Imagick 7.x versions.

Thus, I have decided not to install it in php 7.3 and will await the availability of the 7.x versions.
 
But this is not WHM nore cPanel and imagick as well as Imagmagick can be installed via DA's custombuild.
Got one of them running on Centos 7 with php 7.2.
 
But this is not WHM nore cPanel and imagick as well as Imagmagick can be installed via DA's custombuild.
Got one of them running on Centos 7 with php 7.2.

Richard, maybe you can advise me on this ?

I installed Imagemagick with custombuild on a centos 7 server, resulting:

>
[root@qwsrv55 php.conf.d]# convert --version
Version: ImageMagick 7.0.10-18 Q16 x86_64 2020-07-23 https://imagemagick.org
Copyright: © 1999-2020 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP(3.1)
Delegates (built-in): bzlib freetype jng jpeg png webp xml zlib

Now i need to add delegates, f.i. for tiff format.
I am looking hw to achieve that ?

regards, Cees.
 
Hello Cees.

I'm sorry, I don't know on how to add delegates for this. Maybe somebody else has an idea.
 
Back
Top