【发布时间】:2014-10-22 03:47:46
【问题描述】:
昨天我能够完全正常地使用 PHP 和 phpmyadmin 和 XAMPP 并制作应用程序。唯一改变的是我重新启动了计算机。现在我像往常一样启动lampp
sudo /opt/lampp/lampp start
我明白了
XAMPP: Starting Apache...fail.
XAMPP: Another web server is already running.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
也许 apache 是我不知道的问题。但是当我在浏览器中打开 localhost 时,我得到了
Forbidden
You don't have permission to access / on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80
我在那个 httpd.conf 文件中添加了“要求所有授权”,但它没有帮助,所以必须有其他事情发生。我在论坛上尝试了很多其他线程,没有任何帮助。 想法? 谢谢
【问题讨论】:
-
你的 htdocs 根目录是什么,那里设置了什么 chmod?什么用户正在运行 apache?