首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >phpdocumentor/反射-docblock包问题

phpdocumentor/反射-docblock包问题
EN

Stack Overflow用户
提问于 2020-03-16 20:05:42
回答 1查看 492关注 0票数 0

我在服务器CLI上遇到了这个问题,Laravel 6中的项目和服务器在ubuntu中

代码语言:javascript
复制
Problem 1
        - Installation request for phpdocumentor/reflection-docblock 5.0.0 -> satisfiable by phpdocumentor/reflection-docblock[5.0.0].
        - phpdocumentor/reflection-docblock 5.0.0 requires ext-filter ^7.1 -> the requested PHP extension filter has the wrong version (7.2.28-3+ubuntu16.04.1+deb.sury.org+1) installed.
      Problem 2
        - phpdocumentor/reflection-docblock 5.0.0 requires ext-filter ^7.1 -> the requested PHP extension filter has the wrong version (7.2.28-3+ubuntu16.04.1+deb.sury.org+1) installed.
        - phpspec/prophecy v1.10.2 requires phpdocumentor/reflection-docblock ^2.0|^3.0.2|^4.0|^5.0 -> satisfiable by phpdocumentor/reflection-docblock[5.0.0].
        - Installation request for phpspec/prophecy v1.10.2 -> satisfiable by phpspec/prophecy[v1.10.2].
      To enable extensions, verify that they are enabled in those .ini files:
        - /etc/php/7.2/cli/php.ini
        - /etc/php/7.2/cli/conf.d/10-mysqlnd.ini
        - /etc/php/7.2/cli/conf.d/10-opcache.ini
        - /etc/php/7.2/cli/conf.d/10-pdo.ini
        - /etc/php/7.2/cli/conf.d/15-xml.ini
        - /etc/php/7.2/cli/conf.d/20-calendar.ini
        - /etc/php/7.2/cli/conf.d/20-ctype.ini
        - /etc/php/7.2/cli/conf.d/20-dom.ini
        - /etc/php/7.2/cli/conf.d/20-exif.ini
        - /etc/php/7.2/cli/conf.d/20-fileinfo.ini

      You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.
EN

回答 1

Stack Overflow用户

发布于 2020-06-15 20:57:50

对我来说,由于phpspec/prophecy版本可以与早期版本一起使用,所以忽略平台要求就可以了。

代码语言:javascript
复制
composer install -n --ignore-platform-reqs
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/60705684

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档