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

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux下配置lamp时候出现The requested URL /info.php was not found on this server问题相关的知识,希望对你有一定的参考价值。

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

 

 

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.

以上是关于linux下配置lamp时候出现The requested URL /info.php was not found on this server问题的主要内容,如果未能解决你的问题,请参考以下文章

Linux 6下yum方式安装配置LAMP平台

LINUX下 lamp安装及配置

linux下LAMP安装与配置

红帽6下用rpm搭建lamp 需要用到哪些包

linux下LAMP环境的搭配

centos下利用yum安装LAMP(Linux+Apache+MySQL+PHP)及配置