当前位置:首页 > 操作系统 > Linux

linux下配置lamp时候出现TherequestedURL/info.phpwasnotfoundonthisserver问题

在经历修改各种配置文件和各种文件权限后,发现了怎么解决

On newer versions of Ubuntu, the document root is set to /var/www/html instead of /var/www.

You might have followed an old tutorial which was written for Ubuntu 12.04.

If /var/www/html exists, try moving info.php to it.

Moving Files

Directory: $ cd /var/www/
Command: $ mv info.php html

In the browser, enter yourip/info.php and good.


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐