gpt4 book ai didi

linux - 在 CentOS 上安装 phpmyadmin 时出错

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:19:19 26 4
gpt4 key购买 nike

当我尝试使用它在 CentOS 6.5 VPS 上安装 phpmyadmin 时出现此错误。

命令:

sudo yum install phpmyadmin

错误:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.solarvps.com
* epel: epel.mirror.constant.com
* extras: mirror.wiredtree.com
* rpmforge: repoforge.mirror.constant.com
* updates: mirrors.lga7.us.voxel.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package phpmyadmin.noarch 0:2.11.11.3-2.el6.rf will be installed
--> Processing Dependency: php-mbstring >= 4.1.0 for package: phpmyadmin-2.11.11.3-2.el6.rf.noarch
--> Running transaction check
---> Package php-mbstring.x86_64 0:5.3.3-27.el6_5 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-mbstring-5.3.3-27.el6_5.x86_64
--> Finished Dependency Resolution
Error: Package: php-mbstring-5.3.3-27.el6_5.x86_64 (updates)
Requires: php-common(x86-64) = 5.3.3-27.el6_5
Installed: php-common-5.4.30-1.el6.remi.x86_64 (@remi)
php-common(x86-64) = 5.4.30-1.el6.remi
Available: php-common-5.3.3-26.el6.x86_64 (base)
php-common(x86-64) = 5.3.3-26.el6
Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
php-common(x86-64) = 5.3.3-27.el6_5
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

有人请帮助。提前致谢

最佳答案

您从其他来源 (@remi) 安装了比官方(基本)存储库提供的更新的 PHP 版本 (5.4.30-1)。现在您正在尝试安装依赖于 php-mbstring 的 phpMyAdmin 包。 php-mbstring 是这里的实际问题——它会自动安装,因为 phpmyadmin 依赖于它,但您尝试安装的版本与您安装的其余 PHP 不兼容。

不过,解决方案很简单,因为 remi 还提供了 phpmyadmin(比您尝试安装的版本要新得多!)。只需像安装 PHP 一样从 remi 存储库安装 phpmyadmin 和 php-common。 http://blog.famillecollet.com/pages/Config-en 有一些说明。如果您忘记了,但是您已经设法安装了升级后的 PHP,那么您应该能够很容易地安装 remi phpmyadmin。

或者....

http://www.phpmyadmin.net 下载 phpMyAdmin和 uncompress it到您的网络根目录并忘记包。 php-mbstring 并不是运行应用程序所必需的,所以你甚至不需要担心这部分,只要你 meet the other requirements .

关于linux - 在 CentOS 上安装 phpmyadmin 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24840887/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com