我应该把我的 php 文件放在哪里让 Xampp 解析它们? [英] Where do I put my php files to have Xampp parse them?
问题描述
我为上网本和 XAMPP 安装了 Ubuntu 10.XAMPP 网站教程使安装变得非常容易,然后让我感到很沮丧.一切正常,但我不知道把我手写的 php 文件放在哪里.
I finished installing Ubuntu 10 for netbooks, and XAMPP. The XAMPP website tutorial made it very easy to install, then left me high and dry. Everything works, but I have no idea where to put my handwritten php files.
经过几个小时的谷歌搜索,并试图了解文件浏览器,我意识到我不知道 ubuntu 中的任何内容.对于答案,请不要只告诉我转到X"目录.我不知道如何在那里导航.
After a few hours of googling, and trying to understand the file explorer, I realized I have no idea where anything is in ubuntu. For an answer, please don't just tell me "go to "X" directory. I won't know how to navigate there.
我也对 htdocs 进行了文件搜索,但没有运气.
I also did a file search for htdocs with no luck.
推荐答案
在 XAMPP 中,默认根目录是 XAMPP 文件夹内的htdocs",如果您按照 xampp 主页上的说明进行操作,它将是/opt/lampp/htdocs""
in XAMPP the default root is "htdocs" inside the XAMPP folder, if you followed the instructions on the xampp homepage it would be "/opt/lampp/htdocs"
这篇关于我应该把我的 php 文件放在哪里让 Xampp 解析它们?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!