# ImageMagick or GD missing: new VM server

**URL:** <https://forum.virtualmin.com/t/imagemagick-or-gd-missing-new-vm-server/106251>\
**Category:** Help! (Home for newbies)\
**Created:** [June 20, 2020, 8:41am UTC](https://forum.virtualmin.com/t/imagemagick-or-gd-missing-new-vm-server/106251 "2020-06-20T08:41:50Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![ramin](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/r/71e660/32.png) [@ramin](https://forum.virtualmin.com/u/ramin)\
**Post date:** [June 22, 2020, 4:14am UTC](https://forum.virtualmin.com/t/imagemagick-or-gd-missing-new-vm-server/106251/11 "2020-06-22T04:14:08Z")

</div>

> [@ramin](#):
>
> If you prefer 7.3 or 7.4 for the system you’ll have to get them from Remi.

This is half right. PHP 7.3 is available from CentOS in addition to Remi.

Every time I do this PHP stuff I need a refresher course. Here’s what worked for me if it’s any help.

I decided to replace 7.2 with 7.4 as the default and 7.3 as the extra, both from Remi.

```
dnf module reset php
dnf module enable php:remi-7.4
dnf update php\*

```

With 7.4 a batch of basic extensions updated automatically, including php-fpm, since this was an update. Other extensions can be installed in batches.

`dnf install php-openssl php-pcre php-posix php-sockets php-spl php-tokenizer php-zlib ... and so on`

7.4 configuration files are

/etc/php.ini  
/etc/php.d/\*.ini

7.3 starts out bare since it’s new, so php-fpm and other extensions need to be installed manually.

`dnf install php73`

`dnf install php73-php-fpm php73-php-mysqlnd php73-php-xmlrpc php73-php-pear php73-php-pdo php73-php-opcache ... and so on`

7.3 configuration files are

/etc/opt/remi/php73/php.ini  
/etc/opt/remi/php73/php.d/\*.ini

For extra measure I restarted Webmin after restarting httpd and php-fpm.

---

_[View the full topic](https://forum.virtualmin.com/t/imagemagick-or-gd-missing-new-vm-server/106251)._
