Nextcloud galleryplus

Trying to install the galleryplus app in nextcloud

Followed these directions, but not sure if I activated the imagick PECL extension
I did do sudo apt-get install imagemagick
-edit- oh I got php5-imagick installed by doing apt-get install php5-imagick

How would I go about doing that?
I found this howto but not sure where it would put the imagick.so

Anyone want to assist please…currently my nextcloud build isn’t working…I could remove the added

  'preview_max_scale_factor' => 1,
  'enabledPreviewProviders' =>
  array (
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    11 => 'OC\\Preview\\Illustrator',
    12 => 'OC\\Preview\\Postscript',
    13 => 'OC\\Preview\\Photoshop',
    14 => 'OC\\Preview\\TIFF'

from /var/www/nextcloud/config/config.php

I have it back up…but every time I add the above…it crashes