按照官网的文档安装了Larval Homestead,但是虚拟机启动后站点无法正常访问,提示No input file specified.
下面是Homestead.yaml的配置内容
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
hostname: jack
name: jack
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: "/Users/Jack/laravel"
to: "/home/vagrant/laravel"
sites:
- map: homestead.app
to: "/home/vagrant/laravel/public"
hhvm: true
databases:
- homestead
# blackfire:
# - id: foo
# token: bar
# client-id: foo
# client-token: bar
# ports:
# - send: 50000
# to: 5000
# - send: 7777
# to: 777
# protocol: udp
/Users/Jack/laravel这个Laravel包是我用composer安装的,用php artisan -serve 测试没问题 可以正常访问。