如何在Homestead中运行旧版本的Symfony(2/3)?

时间:2018-08-17 09:07:02

标签: symfony vagrant homestead

嗨,我是新来的流浪汉。我正在成功运行Symfony4,但没有成功运行Symfony 2.8。

在浏览器中运行Symfony 2.8项目(即Symfony-Demo1.test)时,我得到以下信息:

We can’t connect to the server at www.symfony-demo1.test

Homestead.yaml

folders:
- map: C:\homestead
  to: /home/vagrant/homestead     

网站:

- map: Symfony-Demo.test
  to: /home/vagrant/homestead/Symfony-Demo/public
  type: symfony4

- map: Symfony-Demo1.test    
  to: /home/vagrant/homestead/Symfony-Demo1/web
  type: symfony

主机

192.168.10.10       Symfony-Demo.test
192.168.10.10       Symfony-Demo1.test

0 个答案:

没有答案