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

生产环境 Composer怎么平滑Update

WBOY
Release: 2016-06-06 20:12:05
Original
1260 people have browsed it

如题,在生产环境执行

<code>composer update</code>
Copy after login
Copy after login

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

回复内容:

如题,在生产环境执行

<code>composer update</code>
Copy after login
Copy after login

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

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template