运行 composer update 报错

今天在Windows上升级Laravel 5.1.4至Laravel 5.1.11,运行composer update报错

解决方式如下:

编辑php.ini,修改zlib扩展相关配置:

zlib.output_compression = On
zlib.output_compression_level = 5
修改完成后保存php.ini,重启apache,再次运行composer update,则不再报错:
时间: 2024-12-27 23:36:11

运行 composer update 报错的相关文章

Ubuntu遇到apt-get update报错:"E: Could not get lock /var/lib/apt/lists/lock"

sudo apt-get update报错:"E: Could not get lock /var/lib/apt/lists/lock" 出现此问题的原因可能是有另外一个程序在运行,导致资源被加锁,不可用.导致资源被锁的原因可能是上次更新源的操作没有完成! 从上图可以看出,报错的内容是不能获取那个路径下的 lock,咱们就应该删除哪个lock. 删除之后再执行 sudo apt-get update 操作,成功! 原文地址:https://www.cnblogs.com/skzxc/

用java运行Hadoop程序报错:org.apache.hadoop.fs.LocalFileSystem cannot be cast to org.apache.

用java运行Hadoop例程报错:org.apache.hadoop.fs.LocalFileSystem cannot be cast to org.apache.所写代码如下: package com.pcitc.hadoop; import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileSystem; import org.apache.h

mysql执行update报错1175解决方法

mysql执行update报错 update library set status=true where 1=1 Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Queries and

VirtualBox创建虚拟电脑、运行Genymotion模拟器报错

当安装完Genynition关于Android应用的调试模拟器之后,在Genymotion运行的平台virtualBox:VirtualBox创建虚拟电脑.运行Genymotion模拟器报错: 错误卖相是这样的<这张图是截取的别人的,但是我敢说我的解释才够让你一目了然>: 对于这类错误的解决办法,我亲自运行了下并解决了自己的问题: 首先:window+R<快捷键> 进入运行页面  输入: CMD        打开运行窗口,首先找到自己安装VirtualBox模拟器的文件安装写入位

运行node.js报错:Cannot find module &#39;../build/Release/bson&#39;] code: &#39;MODULE_NOT_FOUND&#39; } js-bson

具体报错内容: { [Error: Cannot find module '../build/Release/bson'] code: 'MODULE_NOT_FOUND' } js-bson: Failed to load c++ bson extension, using pure JS version   第一步: 找到 module mongodb ..node_modules\mongodb\node_modules\bson\ext\index.js 并改变bson引用的路径 bso

运行python代码报错UnicodeDecodeError: &#39;ascii&#39; codec can&#39;t decode byte 0xe7 in position 91: ordinal not in range(128)的解决办法

1.通过搜集网上的资料,自己多次尝试,问题算是解决了,在代码中加上如下几句即可: import sys reload(sys) sys.setdefaultencoding('utf-8') 2.原因就是Python的str默认是ascii编码,和unicode编码冲突,混淆了python2 里边的 str 和 unicode 数据类型. 3.python3 区分了 unicode str 和 byte arrary,并且默认编码不再是 ascii. 运行python代码报错UnicodeDec

Window7中Eclipse运行MapReduce程序报错的问题

按照文档:http://www.micmiu.com/bigdata/hadoop/hadoop2x-eclipse-mapreduce-demo/安装配置好Eclipse后,运行WordCount程序报错: log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory). log4j:WARN Please initialize the log4j

Did you install mysqlclient? 运行Django项目报错

Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x000001C467632378> Traceback (most recent call last): File "E:\pythontest\Shop\venv\lib\site-packages\django\db\backends\mysql\base.py", line 15, in

运行springboot项目报错:Field userMapper in XX required a bean of type &#39;xx&#39; that could not be found.

运行springboot项目报错: *************************** APPLICATION FAILED TO START *************************** Description: Field userMapper in com.whohim.springboot.service.impl.UserServiceImpl required a bean of type 'com.whohim.springboot.dao.UserMapper' t