[GH-ISSUE #12] Your requirements could not be resolved to an installable set of packages #11

Closed
opened 2026-02-26 02:31:48 +03:00 by kerem · 2 comments
Owner

Originally created by @ronnyandre on GitHub (Dec 14, 2015).
Original GitHub issue: https://github.com/koel/koel/issues/12

When running composer install I got met with these four problems:

-> % composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for phpunit/php-code-coverage 3.0.2 -> satisfiable by phpunit/php-code-coverage[3.0.2].
    - phpunit/php-code-coverage 3.0.2 requires php >=5.6 -> your PHP version (5.5.27) or "config.platform.php" value does not satisfy that requirement.
  Problem 2
    - Installation request for phpunit/phpunit 5.1.3 -> satisfiable by phpunit/phpunit[5.1.3].
    - phpunit/phpunit 5.1.3 requires php >=5.6 -> your PHP version (5.5.27) or "config.platform.php" value does not satisfy that requirement.
  Problem 3
    - Installation request for phpunit/phpunit-mock-objects 3.0.6 -> satisfiable by phpunit/phpunit-mock-objects[3.0.6].
    - phpunit/phpunit-mock-objects 3.0.6 requires php >=5.6 -> your PHP version (5.5.27) or "config.platform.php" value does not satisfy that requirement.
  Problem 4
    - Installation request for sebastian/resource-operations 1.0.0 -> satisfiable by sebastian/resource-operations[1.0.0].
    - sebastian/resource-operations 1.0.0 requires php >=5.6.0 -> your PHP version (5.5.27) or "config.platform.php" value does not satisfy that requirement.

Update
I'm running PHP 5.5, and not minimum required 5.6 on my local machine.

Originally created by @ronnyandre on GitHub (Dec 14, 2015). Original GitHub issue: https://github.com/koel/koel/issues/12 When running `composer install` I got met with these four problems: ``` -> % composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for phpunit/php-code-coverage 3.0.2 -> satisfiable by phpunit/php-code-coverage[3.0.2]. - phpunit/php-code-coverage 3.0.2 requires php >=5.6 -> your PHP version (5.5.27) or "config.platform.php" value does not satisfy that requirement. Problem 2 - Installation request for phpunit/phpunit 5.1.3 -> satisfiable by phpunit/phpunit[5.1.3]. - phpunit/phpunit 5.1.3 requires php >=5.6 -> your PHP version (5.5.27) or "config.platform.php" value does not satisfy that requirement. Problem 3 - Installation request for phpunit/phpunit-mock-objects 3.0.6 -> satisfiable by phpunit/phpunit-mock-objects[3.0.6]. - phpunit/phpunit-mock-objects 3.0.6 requires php >=5.6 -> your PHP version (5.5.27) or "config.platform.php" value does not satisfy that requirement. Problem 4 - Installation request for sebastian/resource-operations 1.0.0 -> satisfiable by sebastian/resource-operations[1.0.0]. - sebastian/resource-operations 1.0.0 requires php >=5.6.0 -> your PHP version (5.5.27) or "config.platform.php" value does not satisfy that requirement. ``` **Update** I'm running PHP 5.5, and not minimum required 5.6 on my local machine.
kerem closed this issue 2026-02-26 02:31:48 +03:00
Author
Owner

@phanan commented on GitHub (Dec 14, 2015):

As the error specifies, phpunit >5.1 requires php >=5.6. Yours is 5.5.27.
If you're just installing for production, try composer install --no-dev.

<!-- gh-comment-id:164427809 --> @phanan commented on GitHub (Dec 14, 2015): As the error specifies, phpunit >5.1 requires php >=5.6. Yours is 5.5.27. If you're just installing for production, try `composer install --no-dev`.
Author
Owner

@martijnvanderwoud commented on GitHub (Jun 7, 2016):

Strange. When I install with --no-dev I still get
...
phpunit/phpunit 5.4.2 requires php ^5.6 || ^7.0 -> your PHP version (5.5.30) does not satisfy that requirement.
....

even though the dependency to phpunit is in require-dev
Any thoughts?

<!-- gh-comment-id:224270397 --> @martijnvanderwoud commented on GitHub (Jun 7, 2016): Strange. When I install with --no-dev I still get ... phpunit/phpunit 5.4.2 requires php ^5.6 || ^7.0 -> your PHP version (5.5.30) does not satisfy that requirement. .... even though the dependency to phpunit is in require-dev Any thoughts?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#11
No description provided.