【发布时间】:2018-05-04 16:39:04
【问题描述】:
我将laravel 5.4 用于我的项目并安装voyager admin package
它显示一个错误。如何修复这些错误?
PHP version - PHP 5.6.31
Your requirements could not be resolved to an installable set of packages.
Problem 1
- tcg/voyager v1.1.0 requires intervention/image ^2.4 -> satisfiable by intervention/image[2.4.0, 2.4.1].
- tcg/voyager v1.1.1 requires intervention/image ^2.4 -> satisfiable by intervention/image[2.4.0, 2.4.1].
- intervention/image 2.4.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- intervention/image 2.4.0 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- Installation request for tcg/voyager ^1.1 -> satisfiable by tcg/voyager[v1.1.0, v1.1.1].
To enable extensions, verify that they are enabled in those .ini files:
- C:\Program Files (x86)\iis express\PHP\v5.6\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.
【问题讨论】:
-
这个项目目前在什么操作系统上?苹果电脑?视窗? linux?乌本图?其他的?
-
对不起,我忘了包括操作系统。这是 Windows 10
-
您需要启用/安装
fileinfo扩展