Skip to content

Installation errors. #295

Description

@ivose

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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions