Monday, January 31, 2022

[FIXED] Issue with installing zendframework2 skeleton

Issue

i'm new to zendframework 2 , while trying to install it , using composer , it gets installed but an error message appears saying :

Your requirements could not be resolved to an installable set of packages.

Problem1 - Installation request for zendframework/zendframework 2.3.* -> satisfiable by zendframework/zendframework[2.3.0]. - zendframework/zendframework 2.3.0 requires php >=5.3.23 -> no matching package found

knowing that I have php 5.4.3.

Could someone please explain to me what's wrong ?

thanks in advance


Solution

Make sure the PHP version you are using for the CLI is using PHP 5.4.3 too. The CLI version can use a different PHP version than the host. You can get the php version used by the console by using the php --version command.



Answered By - Wouter J

No comments:

Post a Comment

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