Home > Article > Development Tools > 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:
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:
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!