Windows安装Homestead的一些坑

WBOY
Release: 2016-06-23 13:15:15
Original
1469 people have browsed it

在新的电脑上重新安装Vagrant的Homestead环境,遇到了一些问题,以供参考:

  • Composer需要php版本最低为5.3,Homestead2.0命令行程序需要php版本最低为5.4,所以确保PHP版本为5.4+
  • 需要开启CPU的硬件虚拟化设置,在BOIS里面,不然会出现
`default: SSH auth method: private keyTimed out while waiting for the machine to boot. This means thatVagrant was unable to communicate with the guest machine withinthe configured ("config.vm.boot_timeout" value) time period.
Copy after login

` - 用Composer安装好Homestead之后,使用命令行可能会出现Homestead command not found,需要把%AppData%\Roaming\Composer\vendor\bin添加的系统环境变量PATH中。

其他的步骤随处可见,就不一一记录。

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