首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在ubuntu 14.04 LTS上安装phpmyadmin

问无法在ubuntu 14.04 LTS上安装phpmyadmin
EN

Ask Ubuntu用户
提问于 2016-02-03 10:12:41
回答 2查看 1.3K关注 0票数 2

我已经安装了窗口10 (双引导)侧的ubuntu。我已经设置了apache2服务器、mysql并安装了PHP7,然后我想安装phpmyadmin --我无法安装它。我试过很多次了,但仍然有同样的问题。这是我所犯的错误:

代码语言:javascript
复制
    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.

上面说我的包裹坏了,我真的不知道怎么解决这个问题。请帮帮我!

在此之前,非常感谢您。

EN

回答 2

Ask Ubuntu用户

发布于 2016-02-03 10:22:43

你可以检查一下xampp。它会安装所有的。它也可供ubuntu使用。

下载.run文件并按以下方式安装

代码语言:javascript
复制
chmod 755 xampp-linux-*-installer.run
sudo ./xampp-linux-*-installer.run

在这之后,你可以这样运行。

代码语言:javascript
复制
sudo /opt/lampp/lampp start

并停止

代码语言:javascript
复制
sudo /opt/lampp/lampp stop

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

代码语言:javascript
复制
cd /opt/lampp
sudo ./manager-linux.run (or manager-linux-x64.run)
票数 1
EN

Ask Ubuntu用户

发布于 2017-05-22 07:18:01

您可以尝试安装php7,然后安装phpmyadmin,这在Ubuntu14.04上适用于我。

代码语言:javascript
复制
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
票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/729141

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档