linux下配置lamp时候出现The requested URL /info.php was not found on this server问题

WBOY
发布: 2016-06-23 13:15:10
原创
1560 人浏览过

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

 

 

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.

来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板