php 404.路线...未找到[关闭]

tvokkenx  于 2023-03-07  发布在  PHP
关注(0)|答案(1)|浏览(117)

这个问题似乎与help center中定义的范围内的编程无关。
4天前关闭。
Improve this question
所以我安装了www.example.com,为了我的学习。在wamp.net中安装了nginx和php。我被要求创建一个基本的网站,名为 * lab1. dev ,并添加一个名为" test *"的php文件,其中有一些回声,在根文件夹中,wamp.net, for my studies. Installed nginx and php in wamp.net. I got asked to create a basic website, called lab1.dev, and add a php file called 'test', that has some echo in it, in the root folder, i created the file. But when I try to open this website https://lab1.dev/test.php but it's saying404. Route /test.php not foundIt's probably some dumb mistake, but can somebody help me with this?
我试过换文件夹,但没用

nue99wik

nue99wik1#

我认为问题是网站实际存在。尝试将网站的域名改为更具体的东西,如www.lab1-123.dev,它应该工作。

相关问题