Home  >  Article  >  Development Tools  >  What to do if composer update error occurs

What to do if composer update error occurs

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-15 09:28:143352browse

What to do if composer update error occurs

Today I upgraded Laravel 5.1.4 to Laravel 5.1.11 on Windows, and an error occurred when running composer update:

What to do if composer update error occurs

Related recommendations : "composer Tutorial"

The solution is as follows:

Edit php.ini and modify the zlib extension related configuration:

zlib.output_compression = On
zlib.output_compression_level = 5

Save php after the modification is completed .ini, run composer update again, the error will no longer be reported:

What to do if composer update error occurs

The above is the detailed content of What to do if composer update error occurs. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn