title: How can I fix "No input file specified" in laravel homestead
body: <p>I installed laravel homestead on ubuntu 19.04, edited homestead.yaml and got "No input file specified." error. I have an index.php in the code folder. I have tried vagrant reoload --provision, deleting and recreating the vm, vagrant reload --provision, vagrant up --provision and restarting the host machine. </p>
  
  <p><a href="https://i.stack.imgur.com/sQEZr.png" rel="nofollow noreferrer">here</a> is a screenshot of the code directory in the homestead vm</p>
  
  <p>Here is my homestead.yaml</p>
  
  <pre><code>---
  ip: "192.168.10.10"
  memory: 2048
  cpus: 2
  provider: virtualbox
  
  authorize: ~/.ssh/id_rsa.pub
  
  keys:
      - ~/.ssh/id_rsa
  
  folders:
      - map: ~/code
        to: /home/vagrant/code
  
  sites:
      - map: homestead.test
        to: /home/vargrant/code
  
  databases:
      - homestead
  
  features:
      - mariadb: false
      - ohmyzsh: false
      - webdriver: false
  
  # ports:
  #     - send: 50000
  #       to: 5000
  #     - send: 7777
  #       to: 777
  #       protocol: udp
  </code></pre>
  
  <p>here is the terminal output from vagrant reload --provision</p>
  
  <pre><code>==&gt; homestead: Attempting graceful shutdown of VM...
  ==&gt; homestead: Checking if box 'laravel/homestead' version '8.2.1' is up to date...
  ==&gt; homestead: Clearing any previously set forwarded ports...
  ==&gt; homestead: Clearing any previously set network interfaces...
  ==&gt; homestead: Preparing network interfaces based on configuration...
      homestead: Adapter 1: nat
      homestead: Adapter 2: hostonly
  ==&gt; homestead: Forwarding ports...
      homestead: 80 (guest) =&gt; 8000 (host) (adapter 1)
      homestead: 443 (guest) =&gt; 44300 (host) (adapter 1)
      homestead: 3306 (guest) =&gt; 33060 (host) (adapter 1)
      homestead: 4040 (guest) =&gt; 4040 (host) (adapter 1)
      homestead: 5432 (guest) =&gt; 54320 (host) (adapter 1)
      homestead: 8025 (guest) =&gt; 8025 (host) (adapter 1)
      homestead: 9600 (guest) =&gt; 9600 (host) (adapter 1)
      homestead: 27017 (guest) =&gt; 27017 (host) (adapter 1)
      homestead: 22 (guest) =&gt; 2222 (host) (adapter 1)
  ==&gt; homestead: Running 'pre-boot' VM customizations...
  ==&gt; homestead: Booting VM...
  ==&gt; homestead: Waiting for machine to boot. This may take a few minutes...
      homestead: SSH address: 127.0.0.1:2222
      homestead: SSH username: vagrant
      homestead: SSH auth method: private key
  ==&gt; homestead: Machine booted and ready!
  ==&gt; homestead: Checking for guest additions in VM...
  ==&gt; homestead: Setting hostname...
  ==&gt; homestead: Configuring and enabling network interfaces...
  ==&gt; homestead: Mounting shared folders...
      homestead: /vagrant =&gt; /home/username/Homestead
      homestead: /home/vagrant/code =&gt; /home/username/code
  ==&gt; homestead: Running provisioner: file...
      homestead: /home/username/Homestead/aliases =&gt; /tmp/bash_aliases
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: inline script
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: inline script
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: inline script
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: inline script
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: inline script
      homestead: Ignoring feature: mariadb because it is set to false
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: inline script
      homestead: Ignoring feature: ohmyzsh because it is set to false
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: inline script
      homestead: Ignoring feature: webdriver because it is set to false
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: /tmp/vagrant-shell20191005-11177-c1v2wf.sh
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: /tmp/vagrant-shell20191005-11177-16wnll5.sh
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: script: Creating Certificate: homestead.test
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: script: Creating Site: homestead.test
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: inline script
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: /tmp/vagrant-shell20191005-11177-1nabc4j.sh
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: script: Checking for old Schedule
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: script: Clear Variables
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: script: Restarting Cron
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: script: Restarting Nginx
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: script: Creating MySQL Database: homestead
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: script: Creating Postgres Database: homestead
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: script: Update Composer
      homestead: You are already using composer version 1.9.0 (stable channel).
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: /tmp/vagrant-shell20191005-11177-12xf7dx.sh
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: script: Update motd
  ==&gt; homestead: Running provisioner: shell...
      homestead: Running: /tmp/vagrant-shell20191005-11177-l17uwr.sh
  </code></pre>