【问题标题】:Can't Update to latest PHPMyAdmin when running Nginx and PHP5-FPM运行 Nginx 和 PHP5-FPM 时无法更新到最新的 PHPMyAdmin
【发布时间】:2016-09-17 04:27:33
【问题描述】:

目前我有一个运行 nginx 1.10.0、PHP-FPM 5.6.21 和 MySQL 5.5.49 的 LEMP 堆栈设置

我可以使用默认的 Ubuntu 包或通过 PPA 包ppa:nijel/phpmyadmin安装 PhpMyAdmin

两者的问题是它们都已经过时了,因为默认包是 4.0.10 而 nijel 是 4.3.8

理想情况下,我希望它与 PPA 包 ppa:nijel/phpmyadmin 一起使用,因为它运行的是最新版本 4.6.1,但是每当我安装此 PPA 并尝试运行 install 时,我都会收到以下错误

The following packages have unmet dependencies:
phpmyadmin : Depends: php but it is not installable
          Depends: php-mysql but it is not installable
          Depends: php-cli but it is not installable
          Depends: php-json but it is not installable
          Depends: php-mbstring but it is not installable
          Depends: php-xml but it is not installable
          Recommends: php-gd but it is not installable
          Recommends: php-bz2 but it is not installable
          Recommends: php-zip but it is not installable
          Recommends: php-tcpdf but it is not going to be installed

我有一个运行和安装 PhpMyAdmin 没有问题的 ansible 脚本,所以理想情况下,我希望与 ppa:nijel/phpmyadmin 一起工作

【问题讨论】:

  • 问题解决了吗?

标签: php mysql nginx phpmyadmin


【解决方案1】:

您应该将 PHP PECL 扩展库 (https://launchpad.net/~ondrej/+archive/ubuntu/php) 添加到系统:

sudo add-apt-repository -y ppa:ondrej/php
sudo apt-get update

比你可以尝试安装phpmyadmin

【讨论】:

    猜你喜欢
    • 2013-10-27
    • 1970-01-01
    • 1970-01-01
    • 2014-08-19
    • 2016-02-24
    • 1970-01-01
    • 2014-08-17
    • 2014-12-28
    • 1970-01-01
    相关资源
    最近更新 更多