Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

kvnkrft's avatar

Driver (GD) could not be instantiated.

I've got everything working fine locally, but I am having issues with Intervention on my Forge deployment.

Intervention\Image\Exception\NotSupportedException
Driver (GD) could not be instantiated.

I've checked the server for GD and it seems to be installed

GD Support  enabled
GD headers Version  2.2.5
...

Any ideas what could be happening?

0 likes
2 replies
jlrdw's avatar

Check case, linux is case sensitive. GD is not equal to gd.

When you see examples like:

use Intervention\Image\ImageManagerStatic

Case has to be correct.

And perhaps try downgrading one version of intervention.

kvnkrft's avatar

Thanks. It all works on the local environment though.

There are some differences, but... they all seem to meet the requirements for intervention

Local:

PHP Version 7.3.11

GD Support  enabled
GD Version  bundled (2.1.0 compatible)

Server:

PHP Version 7.4.2

GD Support  enabled
GD headers Version  2.2.5
GD library Version  2.2.5

Please or to participate in this conversation.