无法在ubuntu 14.04 LTS上安装phpmyadmin

我已经在窗口10(双启动)旁边安装了ubuntu。 我已经设置了apache2服务器,mysql并安装了PHP 7,然后我想安装phpmyadmin我无法安装它。 我已经尝试了很多次,但仍然有同样的问题。 这是我得到的错误:

Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: phpmyadmin : Depends: libapache2-mod-php5 but it is not going to be installed or libapache2-mod-php5filter but it is not going to be installed or php5-cgi but it is not going to be installed or php5-fpm but it is not going to be installed or php5 but it is not going to be installed Depends: php5-mysql but it is not going to be installed or php5-mysqli but it is not installable or php5-mysqlnd but it is not going to be installed Depends: php5-mcrypt but it is not going to be installed Depends: php5-json but it is not going to be installed Depends: php-gettext but it is not going to be installed Recommends: php5-gd but it is not going to be installed E: Unable to correct problems, you have held broken packages. 

它说我打破了包裹,我真的不知道如何解决这个问题。 请帮忙!

提前谢谢了。

你可以查看xampp 。 它将安装所有这些。 它也适用于ubuntu。

下载.run文件并像这样安装

 chmod 755 xampp-linux-*-installer.run sudo ./xampp-linux-*-installer.run 

在此之后,您可以像这样运行。

 sudo /opt/lampp/lampp start 

并停下来

 sudo /opt/lampp/lampp stop 

这将运行其命令行工具。 它还有它的图形工具。 它可以像这样运行。

 cd /opt/lampp sudo ./manager-linux.run (or manager-linux-x64.run) 

您可以尝试安装php7然后安装phpmyadmin,这对我来说在Ubuntu 14.04上运行。

 sudo apt-add-repository ppa:ondrej/php -y sudo apt-get update sudo apt-get install -y php7.0-common php7.0-cli php7.0-fpm php7.0-curl php7.0-sqlite3 php7.0-json php7.0-tidy php7.0-mysql sudo apt-get install -y phpmyadmin