php - No input file specified when typing homestead.app as the url -
so have installed laravel through composer, virtual box machine , homestead. fine when try access url homestead.app shown in instructions, no input file specified. below content of homestead.yaml... folders, pointed local area have laravel source called installed under xampp/htdocs... doing wrong ?
--- ip: "192.168.10.10" memory: 2048 cpus: 1 provider: virtualbox authorize: ~/.ssh/id_rsa.pub keys: - ~/.ssh/id_rsa folders: - map: c:/xampp/htdocs/learning-laravel-5/public to: /home/vagrant/code sites: - map: homestead.app to: /home/vagrant/code/laravel/public databases: - homestead variables: - key: app_env value: local # blackfire: # - id: foo # token: bar
your configuration bit off believe.
first map project's public directory virtual box's code directory. map site laravel/public directory inside directory mapped. in fact trying access c:/xampp/htdocs/learning-laravel-5/public/laravel/public
web server, probabaly doesn't exist.
personally map vm's code directory htdocs folder. way have access files in there inside vm. site should mapped diffrent then. believe similar this:
... folders: - map: c:/xampp/htdocs to: /home/vagrant/code sites: - map: homestead.app to: /home/vagrant/code/learning-laravel-5/public ...
also, don't forget set host have homestead.app point correct ip (192.168.10.10)
Comments
Post a Comment