# Imagick missing - version php 7.3

**URL:** <https://help.nextcloud.com/t/imagick-missing-version-php-7-3/47765>\
**Category:** ℹ️ Support\
**Tags:** php73, nc15, php\
**Created:** [February 17, 2019, 7:48pm UTC](https://help.nextcloud.com/t/imagick-missing-version-php-7-3/47765 "2019-02-17T19:48:17Z")\
**Posts on this page:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![shaolinux](https://help.nextcloud.com/user_avatar/help.nextcloud.com/shaolinux/32/23611_2.png) [@shaolinux](https://help.nextcloud.com/u/shaolinux)\
**Post date:** [April 13, 2020, 12:18am UTC](https://help.nextcloud.com/t/imagick-missing-version-php-7-3/47765/21 "2020-04-13T00:18:44Z")

</div>

Greetings,

I have debian (not raspbian) buster installed on a raspberry pi, and had the same issue with imagick module not loading in apache.

To solve this, what worked for me was to add the following in /etc/php/7.3/apache2/php.ini

> extension=imagick.so

Which triggered a php error “Module ‘imagick’ already loaded at Unknown#0”. To fix this, I had to comment out the following in /etc/php/7.3/apache2/conf.d/20-imagick.ini

> ;extension=imagick.so

---

<div class="post-metadata">

**Author:** ![Neilerua](https://help.nextcloud.com/user_avatar/help.nextcloud.com/neilerua/32/24117_2.png) [@Neilerua](https://help.nextcloud.com/u/Neilerua)\
**Post date:** [April 24, 2020, 8:14am UTC](https://help.nextcloud.com/t/imagick-missing-version-php-7-3/47765/22 "2020-04-24T08:14:31Z")

</div>

You just saved me after 1 hour of research on this plugin, thank you!! 😄

---

<div class="post-metadata">

**Author:** ![LloydS](https://help.nextcloud.com/user_avatar/help.nextcloud.com/lloyds/32/22312_2.png) [@LloydS](https://help.nextcloud.com/u/LloydS)\
**Post date:** [April 25, 2020, 6:07pm UTC](https://help.nextcloud.com/t/imagick-missing-version-php-7-3/47765/23 "2020-04-25T18:07:36Z")

</div>

Hi!

I made the extension=imagick.so entry in php.ini, because the the error message in nextcloud admin apears. After that the error message was gone. But after a while i recognize messages in cron log:  
(I use cron for nextcloud background jobs)

PHP Warning: Module ‘imagick’ already loaded in Unknown on line 0  
PHP Fatal error: Uncaught Error: Call to a member function getLogger() on null in /var/www/nextcloud/nextcloud-18.0.4/cron.php:162

In detail: with the entry in php.ini i got no error in nextcloud admin system …missing imagick php module, but after a while an error from cron.  
Without the extension entry in php.ini i got the error in nextcloud admin, and cron runs without an error message.

phpsysinfo() gives me allways information about the imagick module, with or without the extension entry in php.ini. So from that side everything seems allright.

Any idea?

bye.

---

<div class="post-metadata">

**Author:** ![enoch85](https://help.nextcloud.com/user_avatar/help.nextcloud.com/enoch85/32/49403_2.png) [@enoch85](https://help.nextcloud.com/u/enoch85)\
**Post date:** [April 25, 2020, 6:21pm UTC](https://help.nextcloud.com/t/imagick-missing-version-php-7-3/47765/24 "2020-04-25T18:21:34Z")

</div>

You should consider this:

> <https://github.com/nextcloud/server/issues/13099>
>
> A few days ago it was brought up to my attention that using Imagick could have very negative effects on security....

---

<div class="post-metadata">

**Author:** ![LloydS](https://help.nextcloud.com/user_avatar/help.nextcloud.com/lloyds/32/22312_2.png) [@LloydS](https://help.nextcloud.com/u/LloydS)\
**Post date:** [April 26, 2020, 9:38am UTC](https://help.nextcloud.com/t/imagick-missing-version-php-7-3/47765/25 "2020-04-26T09:38:06Z")

</div>

Hi enoch85,

I read it. Without - hoppefully, from security view descript in nextcloud forum - because phpinfo() says other - imagemagick php module was gone.

The warning goes away with occ app:disable theming , descript as behind your hyperlink.

From my point, i like imagemagick. The server runs only in local network enviroment, and only known users have the permission to write. This gives me a good overview about security, I think. And so I think I have more negativ effects without imagemagick.

Hopefully the developer find a good solution to that.

Thank you, and bye!

---

<div class="post-metadata">

**Author:** ![EisbaerLars](https://help.nextcloud.com/letter_avatar/eisbaerlars/32/6_22734026db12803ebb3e059622ac3534.png) [@EisbaerLars](https://help.nextcloud.com/u/EisbaerLars)\
**Post date:** [June 17, 2020, 5:53pm UTC](https://help.nextcloud.com/t/imagick-missing-version-php-7-3/47765/26 "2020-06-17T17:53:54Z")

</div>

Disabling Theming did the trick for me - Thanks!

---

<div class="post-metadata">

**Author:** ![Aux](https://help.nextcloud.com/user_avatar/help.nextcloud.com/aux/32/23062_2.png) [@Aux](https://help.nextcloud.com/u/Aux)\
**Post date:** [December 26, 2020, 11:17am UTC](https://help.nextcloud.com/t/imagick-missing-version-php-7-3/47765/27 "2020-12-26T11:17:35Z")

</div>

Thanks, you save my day!

“To solve this, what worked for me was to add the following in /etc/php/7.3/apache2/php.ini”

extension=imagick.so

after this I restart the server and it work like a harm.  
NC V20.0.4

---

<div class="post-metadata">

**Author:** ![shperrung](https://help.nextcloud.com/letter_avatar/shperrung/32/6_22734026db12803ebb3e059622ac3534.png) [@shperrung](https://help.nextcloud.com/u/shperrung)\
**Post date:** [June 11, 2021, 10:57pm UTC](https://help.nextcloud.com/t/imagick-missing-version-php-7-3/47765/28 "2021-06-11T22:57:02Z")

</div>

```auto
sudo apt install php7.3-imagick
sudo phpenmod imagick
sudo systemctl restart {apache2,mysql,php7.3-fpm}

```

The problem is in newest php-imagisk version 8.0 updated with other modules.

---

<div class="post-metadata">

**Author:** ![pdl](https://help.nextcloud.com/user_avatar/help.nextcloud.com/pdl/32/11976_2.png) [@pdl](https://help.nextcloud.com/u/pdl)\
**Post date:** [June 12, 2021, 4:19pm UTC](https://help.nextcloud.com/t/imagick-missing-version-php-7-3/47765/29 "2021-06-12T16:19:38Z")

</div>

[My answer in another thread](https://help.nextcloud.com/t/php-startup-errors-in-log/112083) may be helpful here. Scroll down as needed to see it.

---

<div class="post-metadata">

**Author:** ![Cryogeniks](https://help.nextcloud.com/user_avatar/help.nextcloud.com/cryogeniks/32/68837_2.png) [@Cryogeniks](https://help.nextcloud.com/u/Cryogeniks)\
**Post date:** [June 22, 2021, 11:21pm UTC](https://help.nextcloud.com/t/imagick-missing-version-php-7-3/47765/30 "2021-06-22T23:21:17Z")

</div>

I had this same issue on NextcloudPi on the Odroid-HC2 with Nextcloud Version 21.

I first did this (installs for php 7.3):

```auto
sudo apt install php-imagick
sudo phpenmod imagick
sudo reboot (this took care of the error)

```

However, then I got an error complaining about lack of SVG support in imagick.  
To fix this error, I used this thread: [How to enable SVG for php-imagick](https://help.nextcloud.com/t/how-to-enable-svg-for-php-imagick/108646) and did the following:  
`sudo apt install libmagickcore-6.q16-6-extra`

This solved the SVG issue.

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [June 13, 2024, 12:35pm UTC](https://help.nextcloud.com/t/imagick-missing-version-php-7-3/47765/31 "2024-06-13T12:35:53Z")

</div>

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 11, 2024, 2:28pm UTC](https://help.nextcloud.com/t/imagick-missing-version-php-7-3/47765/32 "2024-12-11T14:28:13Z")

</div>



[Previous page](https://help.nextcloud.com/t/imagick-missing-version-php-7-3/47765.md?page=1)
