Gregwar / Captcha

PHP Captcha library
MIT License
1.71k stars 287 forks source link

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

Open leni-mv opened 2 years ago

leni-mv commented 2 years ago

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:

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 !

Nordin-S commented 2 years ago

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