The error:
Driver (intervention\image\drivers\gd\driver) could not be instantiated.
means that Intervention Image v3 (which you’re likely using with Laravel 10) cannot find or instantiate the GD driver.
1. Install GD or Imagick PHP extension
Make sure you have GD or Imagick PHP extension installed and enabled.
Check GD (on your server or local):
php -m | grep gd
If it doesn’t show up, you need to install GD:
For Ubuntu/Debian:
sudo apt install php-gd sudo service apache2 restart # or php-fpm restart depending on your setup
For Windows:
-
Edit your
php.inifile and uncomment this line: -
extension=gd
Then restart your server.
