No input file specified.


I installed Laravel with Homestead. Dependent on the Laravel documentation.

The Project-Folder and the sites are linked correctly!

folders: - map: ~/Development/Web to: /home/vagrant/Projects

sites: - map: to: ~/Development/Web/fintech-startups/public - map: to: ~/Development/Web/test/public

The paths are ok.

In the host file i wrote in the ip and the map-name:

Every time i'll connect to the website i got the error: No input file specified.

I tried a lot of things like:

  • vagrant provision
  • vagrant destroy
  • vagrant up --provision

Thanks a lot for your help :)

astroanu replied 1 year ago Solution

this is returned from php-fpm saying it cannot find an index.php on the given path.

your yaml file is wrong. correct settings:

map: to: /home/vagrant/Projects/fintech-startups/public

prabhuchelladurai replied 4 months ago

I installed laravel with Homestead.

homestead up command is not working. I did vagrant up. It was all fine.

Below is my Homestead.yaml file content:

ip: ""
memory: 2048
cpus: 1
provider: virtualbox

authorize: ~/home/Homestead/.ssh/

    - ~/.ssh/id_rsa

    - map: ~/Code
      to: /home/vagrant/Code
      type: ¨nfs¨

    - map:
      to: /home/vagrant/Code/Laravel/public

    - homestead

# blackfire:
#     - id: foo
#       token: bar
#       client-id: foo
#       client-token: bar

# ports:
#     - send: 50000
#       to: 5000
#     - send: 7777
#       to: 777
#       protocol: udp

Event after all sorts of trouble shooting, I get only

No Input File specified

as the output when I try to connect to ´´

I am using ROSA Desktop Fresh R8 Linux operating system.

Thanks for the help.

lagbox replied 4 months ago

Do you have a Code directory in your home directory? Adjust that to where ever your Laravel app is on your system.

Sign in to participate in this thread!

We'd like to thank these amazing companies for supporting us