需要为 PHP 7 和 PHPMYADMIN Nginx/Ubuntu 安装 2 个依赖项 [英] Need to install 2 dependencies for PHP 7 and PHPMYADMIN Nginx/Ubuntu

查看:23
本文介绍了需要为 PHP 7 和 PHPMYADMIN Nginx/Ubuntu 安装 2 个依赖项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我进行了大量搜索,包括 here 即使按照建议我仍然收到以下错误.

I've done a ton of searching including here and even after following the suggestions I'm still get the following error.

以下软件包具有未满足的依赖项:
phpmyadmin : 取决于: php-gettext 但它不会被安装
取决于:php-seclib 但它不会被安装

The following packages have unmet dependencies:
phpmyadmin : Depends: php-gettext but it is not going to be installed
Depends: php-seclib but it is not going to be installed

关于如何将 php-gettext 和 php-seclib 添加到 PHP7 的任何建议?

Any suggestions of how to add php-gettext and php-seclib to PHP7?

错误截图

推荐答案

这不是 PHP7 或您尝试安装的任何其他软件的问题,而是似乎与您的包的配置有关经理.

This isn't a problem with PHP7 or any of the other software you're trying to install, but rather appears to be related to the configuration of your package manager.

它似乎是 apt 的输出,而您链接的问题也与 Ubuntu 相关,因此您所要做的就是指示 apt/dpkg/aptitude 自动安装依赖项或自己安装它们.假设您使用的是像 sudo apt-get install php7.0-cli 这样的行,您只需要像 sudo apt-get install php7.0-cli php- 这样添加依赖项即可seclib php-gettext.

It appears to be the output of apt and the question you linked to also is about Ubuntu, so all you have to do is either instruct apt/dpkg/aptitude to install dependencies automatically or install them yourself. Assuming you're using a line like sudo apt-get install php7.0-cli you just need to add the dependencies to it like sudo apt-get install php7.0-cli php-seclib php-gettext.

这篇关于需要为 PHP 7 和 PHPMYADMIN Nginx/Ubuntu 安装 2 个依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆