php - No input file specified in Homestead -
i'm creating laravel project vagrant , homestead. whenever create project mapped 'laravel' directory/project name, works. however, encounter problems whenever remove 'laravel' want use different project name. i'm mapping correctly still receive 'no input file' message. here specs:
php -v
php 5.5.15rc1 (cli) (built: jul 15 2014 11:14:55) copyright (c) 1997-2014 php group zend engine v2.5.0, copyright (c) 1998-2014 zend technologies zend opcache v7.0.4-dev, copyright (c) 1999-2014, zend technologies xdebug v2.2.5, copyright (c) 2002-2014, derick rethans
homestead.yaml (the working verison)
--- ip: "192.168.10.10" memory: 2048 cpus: 1 authorize: /users/name/.ssh/id_rsa.pub keys: - /users/name/.ssh/id_rsa folders: - map: /users/name/homestead/code to: /home/vagrant/code sites: - map: homestead.app to: /home/vagrant/code/laravel/public variables: - key: app_env value: local
to drag out explanation, here line of homestead.yaml file change different project name
sites: - map: homestead.app to: /home/vagrant/code/random_project_name/public
nothing else changed except when create new laravel project in code through composer.
am overlooking something?
try serve
-script (located in /vagrant/scripts, should added path also) , don't need change on homestead.yaml (unless there black magick update host machines hosts
-file automatically).
updating homestead.yaml requires re-provisioning vm anyway.
Comments
Post a Comment