Back

No input file specified.


Hey,

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: fintechstartups.dev to: ~/Development/Web/fintech-startups/public - map: test.app to: ~/Development/Web/test/public

The paths are ok.

In the host file i wrote in the ip and the map-name: 192.168.10.10 fintechstartups.dev 192.168.10.10 test.app

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: fintechstartups.dev to: /home/vagrant/Projects/fintech-startups/public

prabhuchelladurai replied 6 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: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox

authorize: ~/home/Homestead/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

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

sites:
    - map: homestead.app
      to: /home/vagrant/Code/Laravel/public

databases:
    - 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 ´homestead.app´

I am using ROSA Desktop Fresh R8 Linux operating system.

Thanks for the help.

lagbox replied 6 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