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

Apache 2错误和phpmyadmin在Ubuntu 14.04上安装后不工作,php,linux,apache,ubuntu,phpmyadmin,Php,Linux,Apache,Ubuntu,Phpmyadmin,我通过apt-get在Ubuntu上安装了PHPMyAdmin,并在apache2.conf中设置了目录,但在启动服务器时,http://127.0.0.1/phpmyadminaccess,我的控制台上会显示以下消息: juninho-desktop:~$ /etc/init.d/apache2 restart * Restarting web server apache2 AH00558:

我通过apt-get在Ubuntu上安装了PHPMyAdmin,并在apache2.conf中设置了目录,但在启动服务器时,
http://127.0.0.1/phpmyadmin
access,我的控制台上会显示以下消息:

    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文件:

您可以键入:

netstat -lnptu
在你的终点站。然后查找阻塞端口80的程序。
此程序需要关闭或必须使用另一个端口:)

权限问题,请尝试使用根权限重新启动apache2:

sudo /etc/init.d/apache2 restart

Apache可能重复工作,但当我输入/phpmyadmin时,错误出现404 not found您在最后一行中包含的目录应该是空的。尝试在目录“apache2/sites enabled”中查找phpmyadmin.conf。安装后不要忘记重新启动apache2。据我所知,你没有正确重启它。