dongzhang7157 2017-12-09 21:58
浏览 49
已采纳

找不到包zendframework / zend-mvc-form

1)Try install ZF3 form components

 php composer.phar require zendframework/zend-mvc-form
    1/1:        http://packagist.org/p/provider-latest$f77721936f1c90d0ef812a52e8ce1ff658380f07a75912c022c413f5376614d6.json
    Finished: success: 1, skipped: 0, failure: 0, total: 1


  [InvalidArgumentException]
  Could not find package zendframework/zend-mvc-form in any version matching your PHP version (5.5.38.0)

Version PHP: enter image description here

2) I'm trying to set the developer mode:

 composer development-enable

  [Symfony\Component\Console\Exception\CommandNotFoundException]
  Command "development-enable" is not defined.
  • 写回答

1条回答 默认 最新

  • dongzuo9096 2017-12-10 13:42
    关注

    The screenshot shows PHP 5.6, but the error message says you are using PHP 5.5.38. zend-mvc-form requires PHP 5.6 or above.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?