linux下配置lamp时候出现The requested URL /info.php was not found on this server问题
2024-09-20 12:13:23
在经历修改各种配置文件和各种文件权限后,发现了怎么解决
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.
最新文章
- Microsoft Azure Web Sites应用与实践【2】—— 通过本地IIS 远程管理Microsoft Azure Web Site
- WAP端 经验记录2
- django获取指定列的数据
- nginx日志中文变成类型\xE9\xA6\x96\xE9\xA1\xB5-\xE6\x8E\xA8\xE8\x8D\x90的东西
- Ubuntu 系统密码相关问题
- 7、C#基础整理(类)
- Codeforces 468D Tree
- 定制自己的Unity脚本模板
- Java入门——(6)集合
- 用ES6巧妙的解决传统面试中的算法小问题!
- IIS7中JS、CSS、Image无法显示和加载解决方案
- 【转载】LINUX上MYSQL优化三板斧
- ROW_NUMBER() OVER()函数用法;(分组,排序),partition by
- syzkaller 资料集合
- http://lib.csdn.net/article/reactnative/40118
- UIKit 框架之UIControl
- python+stomp+activemq
- Blender 建模
- 7 -- Spring的基本用法 -- 12... Spring 3.0 提供的表达式语言(SpEL)
- 回调函数之基本的Promise
热门文章
- JAVA 内部类 泛型 实现堆栈
- Selenium之(二)Junit单元测试框架
- ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository
- 拓扑排序&;&;欧拉(回)路
- iis express 局域网访问
- MongoDB学习
- How can I protect derived classes from breaking when I change the internal parts of the base class?
- 【C】制作简单的时钟减法程序
- DotNetBar中collapsibleSplitContainer的问题
- chrome调试