在此服务器上找不到Php-version /index.php


php-version/index.php was not found on this server

我有一个ubuntu安装和一个文件夹在我的/var/www名为site1在它的文件(包括index.php和其他)但是当我尝试通过输入localhost/site1访问这个网站时,我得到的错误是:

请求的URL/site1/php-version/index.php没有找到服务器。

请帮我解决这个问题

通常路径为:

/var/www/html/

再试一次,把你的site1文件夹在html文件夹在www,并确保你已经把内容放在正确的地方!