当前位置:首页 > 操作系统 > Windows

Windows安装Homestead的一些坑

在新的电脑上重新安装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.

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

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


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐