Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
leni-mv opened this issue May 31, 2022 · 1 comment

Comments

@leni-mv
Copy link

leni-mv commented May 31, 2022

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 !

@Nordin-S
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants