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

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

问题描述

我已经做了很多搜索,包括

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天全站免登陆