如何相应地在Centos 6.9上安装正确版本的phpmyadmin? [英] How to install a right version phpmyadmin on Centos 6.9 accordingly?

查看:65
本文介绍了如何相应地在Centos 6.9上安装正确版本的phpmyadmin?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将Magento 1.8 Web迁移到一个低成本的托管站点,并因phpmyadmin安装而筋疲力尽. 建议将Magento 1.8与PHP 5.4和Mysql 5.5一起运行,因此,我选择了Centos6.9映像,并认为可能会更容易... LAMP堆栈安装很顺利,但phpmyadmin始终存在问题.我已经尝试过PHP5.4 + Mysql5.5,PHP5.4 + Mysql5.6,PHP5.5 + Mysql5.6组合,但没有一个能成功... 大多数在线博客建议使用相同的方式安装phpmyadmin,如下所示:

wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
    rpm -ivh epel-release-6-8.noarch.rpm
    or 
    rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
    then
    yum install phpmyadmin

我认为EPEL软件包将能够自动识别已安装的php模块,并相应地安装正确的版本phpmyadmin ... 相反,它似乎坚持使用php 5.3(这是Centos 6的默认php版本).这是错误消息:

列表很长,涉及许多php模块...

我是linux服务器方面的新手...任何人都可以帮助解决此问题并指出解决方案吗?预先谢谢你.

顺便说一句,我是开放源代码的忠实拥护者,但是从这一点上,我对开放源代码产品感到有些失望……尤其是当最终用户需要一起使用多个开放源代码产品时……永远不能说方便用户使用.

解决方案

您已经从remi-php54安装了 php 5.4.45 ,因此您需要启用此存储库以安装任何其他模块. /p>

向导所述.

请注意,不再维护PHP 5.4和5.5,所以我衷心建议升级到受支持的版本(5.6或更高版本)

P.S. EPEL中的phpMyAdmin很旧(4.0),但适用于旧的PHP版本.对于最新版本的PHP(5.6、7及更高版本),您可能需要最新的phpMyAdmin版本4.7(可在"remi"存储库中找到)

I am moving a Magento 1.8 web to a lower cost hosting and exhausted by phpmyadmin installation. Magento 1.8 was suggested to run with PHP 5.4 and Mysql 5.5, therefore, I chose a Centos6.9 image and thought could be easier...The LAMP stack installation is smooth, but always got problem with phpmyadmin. I have tried PHP5.4 + Mysql5.5, PHP5.4 + Mysql5.6, PHP5.5 + Mysql5.6 combinations, none of them turn out success... Most of online blogs suggest same way to install phpmyadmin which I followed as below:

wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
    rpm -ivh epel-release-6-8.noarch.rpm
    or 
    rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
    then
    yum install phpmyadmin

I thought the EPEL package will be able to automatically identify php modules already installed and install the right version phpmyadmin accordingly... instead it seems stick with php 5.3 which is default php version with Centos 6....here is error message:

the list is very long and involved many php modules...

I am kind of newbie with linux server stuff...Can anyone help to address this issue and point a solution out? thank you in advance.

BTW, I am big fan of open source, but from this point, I feel a bit disappointed to open source products...especially when end user need to work with multiple of them together...it can never be said as user-friendly.

解决方案

You have php 5.4.45 installed from remi-php54, so you need to enabled this repository to install any additional module.

As explained by the Wizard.

Please note than PHP 5.4 and 5.5 are not maintained anymore, so I hearthly recommend to upgrade to a supported release (5.6 or more recent)

P.S. phpMyAdmin in EPEL is quite old (4.0) but suitable for old PHP versions. For more recent version of PHP (5.6, 7 and up), you probably need the latest phpMyAdmin version 4.7 (which is available in "remi" reposotiry)

这篇关于如何相应地在Centos 6.9上安装正确版本的phpmyadmin?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆