Jump to content
XPEnology Community

Wordpress + imagick extension on DSM DSM 6.1.7-15284 Update 3


diqipib

Recommended Posts

Hello everyone, ladies and gentlemen! Came to you with a question - did someone get php imagick extention to work on DSM DSM 6.1.7-15284 Update 3 ? To begin with, this need it as I started a site on Wordpress in Web Station. After that I found a message in site health check, that imagick extension is not installed.

image.thumb.png.bdaf90144c5b4233f775f40d44ea6ee5.png

Searching the internet, I found several discussions:

https://community.synology.com/enu/forum/1/post/128164

https://qna.habr.com/q/714937

This led me to the instruction:

https://mariushosting.com/how-to-add-php-imagick-extension-on-synology-nas/

It says at the end that "PHP 7.4 is out today with support for the Imagick extension."

I decided to try to install PHP 7.4. Of course DSM said that my version 6.1.7 does not support it. I decided to make an experiment.

1) downloaded PHP 7.4 as spk (https://www.synology.com/en-us/support/download/DS3615xs#packages alternative link: https://archive.synology.com/download/Package/PHP7.4/7.4.9-0005

2) opened it with 7z and corrected the line in the INFO file

firmware = "6.1.7-15284"

After that it installed successfully. I saw that the imagick item was present in the PHP 7.4 settings.

image.thumb.png.54f61b6588f44909f920caa2bd6b62e9.png

I turned it on, but the Wordpress site still displays a message that the extension is not installed, even after system reboot.

Don't You know - is there a way to make it work ?

Edited by diqipib
Link to comment
Share on other sites

  • diqipib changed the title to Wordpress + imagick extension on DSM DSM 6.1.7-15284 Update 3

You could verify if php 7.4 is installed properly by creating a phpinfo.php file in the /yourvolume/web/ folder, containing: 

<?php
phpinfo();
?>

Then access it in a web browser by typing http://yournasip/phpinfo.php
imagick should be listed with other activated extensions.

Link to comment
Share on other sites

@pmchan, thanks for the answer ! Yes, I did it, but forgot to mention it in a topic. Unfortunatly U r right - there is no any info about imagick in phpinfo log. Even though, PHP 7.4 module has core settings:

 

image.thumb.png.9f32b6f86cfadfc652de30fd97fe9a5d.png

I forgot to say that I tried to install ImageMagick package from syno community, but it still didn't help. Maybe there is some other way to activate imagick ?

Edited by diqipib
Link to comment
Share on other sites

В 27.05.2021 в 00:45, flyride сказал:

Wordpress on Docker

@flyride, thanks ! That's goot idea, but then all the charm of using DSM is lost. After all, it is the GUI interface of Web Station that makes it easy to manage PHP and extension settings. Didn't anyone else wonder about DSM-level customization? 😔

Link to comment
Share on other sites

  • 10 months later...

Bloggers commonly watermark their photographs when they post them online, which are little, barely visible emblems in one corner of the image. Some people use graphic tools to watermark photographs before uploading them, but the most effective method is to employ software tools afterward. well-applied https://prosvit.design/fitness-website-design/. WordPress utilizes the PHP library GD for image processing, however there is a better alternative: ImageMagick. Both libraries have advantages and disadvantages, but I prefer IM because it is not only more powerful but also more user-friendly.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...