Question

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

Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top