【发布时间】:2015-10-25 16:14:04
【问题描述】:
我在我的系统上下载了一个在 laravel4 上开发的网站,并在我的 localhost 上运行它。某些页面无法正常工作。
当我尝试上传 Image 时。发生以下错误。
Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)
HELP
Class 'Image' not found
所以我用谷歌搜索并知道我必须在我的 cocomposer.json 文件中添加干预/图像我更改了 json 数组的代码
"require": {
"laravel/framework": "4.2.*",
"intervention/image": "1*"
},
到
"require": {
"laravel/framework": "4.2.*",
"intervention/image": ""2.3.0""
},
然后我做了composer update,我收到以下错误
有什么线索吗??
C:\Users\User\Desktop\ideconnect>composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for intervention/image 2.3.0 -> satisfiable by interv
ention/image[2.3.0].
- intervention/image 2.3.0 requires ext-fileinfo * -> the requested PHP exte
nsion fileinfo is missing from your system.
谢谢
【问题讨论】: