【发布时间】:2013-11-14 04:37:41
【问题描述】:
我是 Ubuntu Linux(版本 13.10)的新手。我正在关注this tutorial 安装 MySQL、PHP 和 Apache2。
它安装成功,但我不知道在哪里编写当您导航到 URL localhost/example.php 时执行的 PHP 文件。
我在看this link,但我怕可能不行,必须重新安装Ubuntu。
【问题讨论】:
-
/var/www是教程中提到的路径。 -
是本地开发服务器还是网络服务器?如果本地使用 xampp(用于 linux 的灯),则更新 lamp/etc/extra/httpd-xamp.conf 以创建别名
-
有时应该使用 RTFM!
标签: php apache ubuntu-13.10