Home  >  Article  >  Backend Development  >  symfony项目换台电脑部署就各种问题如何解决?

symfony项目换台电脑部署就各种问题如何解决?

WBOY
WBOYOriginal
2016-06-06 20:07:28914browse

我是整个目录打包部署的,包括vendor,经常遇到本地开发ok的,部署就各种问题。

回复内容:

我是整个目录打包部署的,包括vendor,经常遇到本地开发ok的,部署就各种问题。

不要把vendor也扔进来。

不要在windows开发,再布署到Linux。
直接在Linux开发。

或者用docker技术解决环境不一致的问题。
使用自动布署测试工具。

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