Need to install 2 dependencies for PHP 7 and PHPMYADMIN Nginx/Ubuntu

廉价感情. 提交于 2019-12-25 11:52:32

问题


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

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

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

Screencapture of error


回答1:


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.

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.



来源:https://stackoverflow.com/questions/34318434/need-to-install-2-dependencies-for-php-7-and-phpmyadmin-nginx-ubuntu

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!