微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

运行Nginx和PHP5-FPM时无法更新到最新的PHPMyAdmin

目前我有一个运行Nginx 1.10.0,PHP-FPM 5.6.21和MysqL 5.5.49的LEMP堆栈设置

我可以使用认的Ubuntu软件包或通过PPA软件包ppa安装PHPMyAdmin:nijel / PHPmyadmin

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

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

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

我有一个ansible脚本运行并安装PHPMyAdmin没有任何问题,所以理想情况下我想用ppa工作:nijel / PHPmyadmin

解决方法:

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

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

比你可以尝试安装PHPmyadmin

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐