Saturday, January 29, 2022

[FIXED] laravel installer - requirements could not be resolved

Issue

Problem 1
 -laravel/installer v1.1.1 requires guzzlehttp/guzzle ~4.0 -> satisfiable by guzzlehttp/guzzle[...]

 -guzzlehttp/guzzle 4.2.3 requires php>=5.4.0 -> no matching package found

I am using vagrant ( hashicorp/precise32 )

I used this to try and install the laravel installer

composer global require "laravel/installer=~1.1"

Solution

Just read the error message carefully and you have the problem:

Laravel installer requires guzzlehttp/guzzle. Guzzle requires php >= 5.4.0 (greater than or equal to version 5.4.0). This was not found.

In other words, you do not meet the PHP requirement (you'll properbly use PHP 5.3.x)



Answered By - Wouter J

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.