Home > Backend Development > PHP Tutorial > Enter homestead.app, the page prompts: No input file specified.

Enter homestead.app, the page prompts: No input file specified.

WBOY
Release: 2023-03-01 19:02:02
Original
1735 people have browsed it

Problem: Entering homestead.app, the page prompts: No input file specified.

System environment:

<code>Linux系统
</code>
Copy after login
Copy after login

.yaml configuration file:

<code>folders:
    - map: ~/Code
      to: /home/vagrant/Code

sites:
    - map: homestead.app
      to: /home/vagrant/Code
      # to: /home/vagrant/Code/Laravel/public
</code>
Copy after login
Copy after login

Folder structure:

<code>/home/sun(用户)/
</code>
Copy after login
Copy after login

I tried creating vagrant/Code and index.html in the home folder, but the display did not change.
There is also a Code under the sun folder. I built index.php in it, and the display is still:

No input file specified.

What to do?

Reply content:

Problem: Entering homestead.app, the page prompts: No input file specified.

System environment:

<code>Linux系统
</code>
Copy after login
Copy after login

.yaml configuration file:

<code>folders:
    - map: ~/Code
      to: /home/vagrant/Code

sites:
    - map: homestead.app
      to: /home/vagrant/Code
      # to: /home/vagrant/Code/Laravel/public
</code>
Copy after login
Copy after login

Folder structure:

<code>/home/sun(用户)/
</code>
Copy after login
Copy after login

I tried creating vagrant/Code and index.html in the home folder, but the display did not change.
There is also a Code under the sun folder. I built index.php in it, and the display is still:

No input file specified.

What to do?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template