zoukankan      html  css  js  c++  java
  • composer require workerman/gateway-worker时报错

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

    Problem 1
    - phpoffice/phpspreadsheet 1.10.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    - phpoffice/phpspreadsheet 1.10.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    - Installation request for phpoffice/phpspreadsheet (installed at 1.10.1) -> satisfiable by phpoffice/phpspreadsheet[1.10.1].

    To enable extensions, verify that they are enabled in your .ini files:
    - /www/server/php/72/etc/php.ini
    You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

    Installation failed, reverting ./composer.json to its original content.

    原因:缺少fileinfo扩展

    解决办法:找度娘,安装完扩展后

    执行安装:

    composer require phpoffice/phpspreadsheet=1.10.1  

    等待成功,然后在执行

    composer require workerman/gateway-worker

    完成。

  • 相关阅读:
    [YTU]_2536( C++ 长方体继承自矩形)
    [YTU]_2560(C++继承(改错题))
    [YTU]_2532(投简历)
    [YTU]_2621(B 继承 圆到圆柱体)
    stl
    noip2008双栈排序
    倍增入门水题
    noip模拟【ping】
    dp入门(LIS,LCS)
    【Luogu 1799】数列
  • 原文地址:https://www.cnblogs.com/j-jian/p/13234333.html
Copyright © 2011-2022 走看看