php - 在 Ubuntu 14.04 上安装后 Apache 2 错误和 phpmyadmin 不工作

标签 php linux apache ubuntu phpmyadmin

我在我的 Ubuntu 上通过 apt-get 安装了 PHPMyAdmin,我在 apache2.conf 中设置了目录,但是当启动服务器时,http://127.0.0.1/phpmyadmin 访问和以下消息出现在我的控制台中:

    juninho-desktop:~$ /etc/init.d/apache2 restart
 * Restarting web server apache2                                                AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
(13)Permission denied: AH00072: make_sock: could not bind to address [::]:80
(13)Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
                                                                         [fail]
 * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems

这是我的/etc/apache2/apache2.conf 文件:

http://pastebin.com/yafW00S6

最佳答案

你可以输入:

netstat -lnptu

在您的终端中。然后寻找阻止端口 80 的程序。 该程序需要关闭或必须使用其他端口:)

关于php - 在 Ubuntu 14.04 上安装后 Apache 2 错误和 phpmyadmin 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24776634/

相关文章:

php - Laravel 注销不同的用户

php - 如何在 Laravel 中将最后一个 ID 插入到数据库中?

android - c和uinput,如何处理不同的语言

apache - 502 Bad Gateway nginx/1.11.5 在 docker 中运行

php - 使用 dom 从 HTML 中删除所有内联样式标签

php - MySQL,使用预准备语句插入时 DEFAULT 不起作用

linux - 需要条形码和键盘分开工作

linux - Grep 用另一个过滤一个文本文件(非常大的文件)

apache - Backbone.js 路由器在本地主机上使用 pushstate 和 XAMPP apache 服务器

python - 如何删除我在他人计算机上设置的 cookie?