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

CrastyCrap's avatar

PHP gb library

Greeting, i am trying to install a laravel theme but when i hit composer install i got this error

  1. Root composer.json requires PHP extension ext-gd * but it is missing from your system. Install or enable PHP's gd extension

  2. phpoffice/phpspreadsheet[1.1.0, ..., 1.20.0] require ext-gd * -> it is missing from your system. Install or enable PHP's gd extension.

i went to php.ini and enable extension = gb but the error still exist what can i do to solve this problem

0 likes
3 replies
Tray2's avatar

Did you add it in the correct php.ini. There are usually two of them, one for server and one for cli.

Tray2's avatar

@Abdalrhman Take a look in the folderstructure of xampp. You are likely to find another one there.

Please or to participate in this conversation.