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

Installation errors. #295

Open
ivose opened this issue Jun 27, 2024 · 0 comments
Open

Installation errors. #295

ivose opened this issue Jun 27, 2024 · 0 comments

Comments

@ivose
Copy link

ivose commented Jun 27, 2024

The installation to laravel 11 project doesnt work:

PS C:\ivose\myproject> composer require mews/captcha
Cannot use mews/captcha's latest version 3.3.3 as it requires ext-gd * which is missing from your platform.                                                                                         
./composer.json has been updated
Running composer update mews/captcha
  Problem 1
    - mews/captcha[1.0.1, ..., 1.0.2] require illuminate/support ~4 -> found illuminate/support[v4.0.0, ..., v4.2.17] but these were not loaded, likely because it conflicts with another require.
    - mews/captcha[2.0.0, ..., 2.3.0, 3.2.5, ..., 3.3.3] require ext-gd * -> it is missing from your system. Install or enable PHP's gd extension.
    - mews/captcha[3.0.0, ..., 3.2.4] require php ^7.2 -> your php version (8.2.12) does not satisfy that requirement.
    - Root composer.json requires mews/captcha * -> satisfiable by mews/captcha[1.0.1, 1.0.2, 2.0.0, ..., 2.3.0, 3.0.0, ..., 3.3.3].       

To enable extensions, verify that they are enabled in your .ini files:
    - C:\xampp\php\php.ini
You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with `--ignore-platform-req=ext-gd` to temporarily ignore these required extensions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require mews/captcha:*" to figure out if any version is installable, or "composer require mews/captcha:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS C:\ivose\myproject>

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

1 participant