美文网首页
composer install 错误

composer install 错误

作者: 张秀雨_0785 | 来源:发表于2019-07-30 09:36 被阅读0次

    composer install

    Loading composer repositories with package information

    Installing dependencies (including require-dev) from lock file

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

      Problem 1

        - league/flysystem 1.0.53 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.

        - league/flysystem 1.0.53 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.

        - Installation request for league/flysystem 1.0.53 -> satisfiable by league/flysystem[1.0.53].

      To enable extensions, verify that they are enabled in your .ini files:

        - /usr/local/php/etc/php.ini

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

    出现此错误的原因是php.ini中的fileinfo扩展没有开启,开启 extension=php_fileinfo.dll,再重新执行命令安装就可以了。

    相关文章

      网友评论

          本文标题:composer install 错误

          本文链接:https://www.haomeiwen.com/subject/bjqgrctx.html