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

LojainAA's avatar

Laravel ERROR [GD Library extension not available with this PHP installation.]

Hello I'm using laravel 9, I face problem when I use GD library, it result as [GD Library extension not available with this PHP installation.] Note: I have already run $ php composer.phar require intervention/image and get the image library intervention :: Using XAMPP on windows

0 likes
8 replies
Sinnbeck's avatar

You need the php extension :) What is your dev environment? XAMPP on windows? LInux? Docker? Something else?

LojainAA's avatar

I try almost all solutions I remove [;] in file php.ini for [extension=gd2] also, same problem!

LojainAA's avatar

@MichalOravec I follow the steps (1-2-3-4) and I get the same problem ERROR [ Warning: PHP Startup: Unable to load dynamic library 'php_imagick' (tried: C:\xampp\php\ext\php_imagick (The specified module could not be found.), C:\xampp\php\ext\php_php_imagick.dll (The specified module could not be found.)) in Unknown on line 0 ]

LojainAA's avatar

when I run [php composer.phar require intervention/image] I get this error (Could not open input file: composer.phar )

Please or to participate in this conversation.