问题描述
我已经做了很多搜索,包括,即使按照建议进行操作,我仍然遇到以下错误.
I've done a ton of searching including here and even after following the suggestions I'm still get the following error.
关于如何将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个依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!