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

Khudadad's avatar

ImageMagick module not available with this PHP installation.

I'm using Laravel 5.1 and image intervention for image manipulation, and when I submit the form containing the image file it gets this error:

NotSupportedException in Driver.php line 18:
ImageMagick module not available with this PHP installation. 

My PHP version is 5.6.15 any help. thanks

0 likes
6 replies
ohffs's avatar

If you can't install imagemagick you can specify using the GD driver that might already be there too, ie new \Intervention\Image\ImageManager(array('driver' => 'gd'));

1 like
Khudadad's avatar

If change the driver from imagick to gd in that array I get this error: NotWritableException in Image.php line 143: Can't write image data to path (public/images/news/2015-11-03_10.JPG)

bashy's avatar

Try using public_path('images/news/'.$some_new_file) in your code instead of /public/images/news/'.$some_new_file

Please or to participate in this conversation.