Captcha icon indicating copy to clipboard operation
Captcha copied to clipboard

requirements incompatible with php and composer version and require ext-gd *

Open leni-mv opened this issue 2 years ago • 1 comments

Hi,

I have a problem to install this library. When I run : $ composer require gregwar/captcha

I have this error : Package gregwar/captcha has requirements incompatible with your PHP version, PHP extensions and
Composer version:
- gregwar/captcha v1.1.9 requires ext-gd * but it is not present.

I have php 8.1.1 and composer 2.3.5 versions and I have loaded ext-gd * in composer.json : $ composer require "ext-gd:*" --ignore-platform-reqs

"require": { "phpmailer/phpmailer": "^6.6", "ext-gd": "*" }

I have reload my VsCode But I have this error again.

Thanks for your time ! Sorry for my english and have a nice day !

leni-mv avatar May 31 '22 09:05 leni-mv

Go ahead and enable gd in your php.ini and try again. Good luck!

Nordin-S avatar Aug 26 '22 00:08 Nordin-S