Home >Backend Development >PHP Tutorial >生产环境 Composer怎么平滑Update

生产环境 Composer怎么平滑Update

WBOY
WBOYOriginal
2016-06-06 20:12:051256browse

如题,在生产环境执行

<code>composer update</code>

在执行过程中网站有短暂的崩溃,有什么办法能平滑执行?

回复内容:

如题,在生产环境执行

<code>composer update</code>

在执行过程中网站有短暂的崩溃,有什么办法能平滑执行?

提供一个@Summer 写的文档正确的 Composer 扩展包安装方法

生成环境怎么能直接<code>composer update</code>呢,万一哪个库升级不兼容怎么办!!!
安装库请用composer require 'foo/foo:1.1'指定版本

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