php - Zend Framework / Skeleton-Application / Composer install issue -


i trying create zend framework application using skeleton in netbeans. when run composer install, following error message:

"c:\php\php.exe" "c:\composer\composer.phar" "--ansi" "--no-interaction" "update" "--dev" using deprecated option "dev". dev packages installed default now. loading composer repositories package information updating dependencies (including require-dev) requirements not resolved installable set of packages.    problem 1     - package requires php >=5.5 php version (5.4.42) not satisfy requirement.   problem 2     - installation request zendframework/zendframework 2.5.1 -> satisfiable zendframework/zendframework[2.5.1].     - zendframework/zendframework 2.5.1 requires php >=5.5 -> php version (5.4.42) not satisfy requirement.  done. 

apparently, zend framework only needs php 5.3+ contradicts above. need use php 5.4.

my composer.json following:

{     "name": "zendframework/skeleton-application",     "description": "skeleton application zf2",     "license": "bsd-3-clause",     "keywords": [         "framework",         "zf2"     ],     "homepage": "http://framework.zend.com/",     "require": {         "php": ">=5.5",         "zendframework/zendframework": "2.5.1"     } } 

how can create php 5.4 / zendframework 2 application using skeleton? there workaround? new zendframework , composer.

the page linked out of date. zend framework 2.5 requires php 5.5 or above. run zf 2.4.x on php version, php 5.4 reaches end of life in couple of months, you'd better off installing more date version of php if can.


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -