无法在 ubuntu 18.04 上安装 php-mbstring [英] Cannot install php-mbstring on ubuntu 18.04
本文介绍了无法在 ubuntu 18.04 上安装 php-mbstring的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用的是 ubuntu 18.04.我正在尝试安装 mbstring 但终端显示错误:
I'm using ubuntu 18.04. I'm trying to install mbstring but terminall show error:
php-mbstring : Depends: php7.2-mbstring but it is not going to be installed
所以我尝试安装 php7.2-mbstring 但再次出错:
So I' trying to install php7.2-mbstring but error again:
php7.2-mbstring : Depends: php7.2-common (= 7.2.3-1ubuntu1) but 7.2.7-0ubuntu0.18.04.2 is to be installed
抱歉我的英语不好.任何人都知道如何解决这个问题:(
Sorry for my bad english. Anyone have idea how to fix this :(
推荐答案
确保您为 apt-get 启用了universe"存储库:
Make sure you have the "universe" repository enabled for apt-get:
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
这篇关于无法在 ubuntu 18.04 上安装 php-mbstring的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文