laravel安装intervention/image图像处理扩展 报错 intervention/image 2.3.7 requires ext-fileinfo…

laravel安装intervention/image图像处理扩展 报错 intervention/image 2.3.7 requires ext-fileinfo…

在安装intervention/image图像处理扩展 报错fileinfo is missing

报错信息如下:

 

\blog>composer require intervention/image
Using version ^2.3 for intervention/image
./composer.json has been updated
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
    – intervention/image 2.3.7 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    – intervention/image 2.3.6 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    – intervention/image 2.3.5 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    – intervention/image 2.3.4 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    – intervention/image 2.3.3 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    – intervention/image 2.3.2 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    – intervention/image 2.3.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    – intervention/image 2.3.0 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.

 

 

 

出现此错误的原因是php.ini中的fileinfo扩展没有开启

开启 extension=php_fileinfo.dll

再重新安装就可以了’

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/113242.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • c++入门教程–-10函数

    c++入门教程–-10函数

    2021年3月12日
    154
  • D盘Program Files 文件夹里文件不显示,没隐藏。怎么才能显示出来?

    D盘Program Files 文件夹里文件不显示,没隐藏。怎么才能显示出来?

    2021年11月17日
    51
  • 2020//7/6学习记录

    2020//7/6学习记录1.微信小程序圆角样式border-radius:20rpx;2.微信小程序横向布局display: flex;/*row 横向 column 列表 */flex-direction: row;/* 左右居中 */justify-content: center;/* 上下居中 */align-items: center;3.文字左右布局父元素用到:justify-content:space-between;子元素:<viewstyle…

    2022年8月18日
    9
  • landsat8与sentinel2波段对比

    landsat8与sentinel2波段对比landsat8与sentinel2波段对比Landsat8波段对比哨兵2号,通常Landsat8OLI使用7、5、2或7、5、3,哨兵2号相对应的为12、8、2。Landsat7ETM+通常采用7、4、1。新的改变我们对Markdown编辑器进行了一些功能拓展与语法支持,除了标准的Markdown编辑器功能,我们增加了如下几点新功能,帮助你用它写博客:全新的界面设计,将会带来全新…

    2022年7月23日
    11
  • next()nextLine()以及nextInt()的区别及用法

    next()nextLine()以及nextInt()的区别及用法next()、nextLine()、nextInt()作为scanner内置的方法,常常让人傻傻分不清楚,今天在这里记下他们的区别以及以此区别为出发点的用法:他们的区别在于对于空格的处理方式不同,以及返回值不同。使用nextLine()方法时,不将空格看做是两个字符串的间隔,而是看作字符串的一部分,返回时,它作为String类型一并返回:publicclassdemo{ pub

    2022年4月29日
    85
  • linux抓包命令tcpdump 文本,Linux下抓包命令tcpdump的使用

    linux抓包命令tcpdump 文本,Linux下抓包命令tcpdump的使用在linux下,可以使用tcpdump命令来抓取数据包。主要用法如下:过滤网卡tcpdump-ieth0#抓取所有经过网卡eth0数据包tcpdump-ilo#抓取环回口的数据包过滤主机/IPtcpdumphost192.168.10.10#抓取所有IP为192.168.10.10的数据包tcpdumpsrchost192.168.10…

    2022年6月26日
    31

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号