如何在Centos 6.8和php 5.5上安装phpMyadmin [英] How to install phpMyadmin on Centos 6.8 with php 5.5

查看:140
本文介绍了如何在Centos 6.8和php 5.5上安装phpMyadmin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Centos 6.8上安装phpMyAdmin时,我有些头疼 我已经从webtatic回购安装了php 5.5.以及安装的mysql 5.6. 当我通过

I have several headaches on installing phpMyAdmin on Centos 6.8 I have php 5.5 installed from webtatic repo. Mysql 5.6 installed as well. When I install phpMyAdmin by

# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
# yum --enablerepo=remi,remi-test install phpMyAdmin

我遇到了这些错误:

事实上,我之前曾进行过另一次试用,我从Remi回购中安装了php 5.4,并且在安装phpmyadmin时遇到类似的问题,请参见另一个

In fact, I had another trial before, I had php 5.4 installed from Remi repo and facing similar problem when installing phpmyadmin, see another post

我对Linux服务器知识还比较陌生.我有几个问题,希望有人可以帮助我.

I am relatively new to Linux server stuff. I have several questions and hopefully someone could help me out.

  1. 在这一点上,百胜干了什么?它给我留下了一个大洞,我不知道如何从这里开始.看来yum已删除了一些我的php5.5模块,但未安装替换模块.我的Magento网站需要删除那些php模块.而且我不知道是否已安装phpmyadmin.
  2. 我不知道是什么原因/是谁引起的,或者是因为我的php是从webtatic仓库中安装的,所以我不能使用Remi仓库来安装任何与php相关的软件包,例如phpmyadmin?如果是这样,为什么百胜集团没有任何预防措施?如果不是,为什么yum或Remi repo将这种情况留给用户,因为这不是他们的事?无论如何,在我的另一次尝试中,从Remi repo都安装了php5.4和phpmyadmin ...
  3. 从phpMyAdmin网站上,我知道它的4.7版本可以与php 5.5或更高版本+ Mysql 5.5或更高版本一起使用.但是,通过命令我只能在Remi repo中找到适用于Centos 6的版本4.0: 百胜榜phpMy * 我当前的安装是php 5.5.38 + Mysql 5.6.我可以安装phpmyadmin 4.7以及如何安装(在Centos 6.8下)吗?即使在安装后尝试升级到4.7时,我仍然发现只有4.0可用.
  1. At this point, what the yum has done? it leave me big hole which I don't know how to proceed from here. it seems yum has removed some my php5.5 modules without getting replacement installed. those php module being removed are needed by my Magento site. And I don't know if phpmyadmin has been installed or not.
  2. I don't know what/who cause the problem, or is it because my php was installed from webtatic repo, so I can NOT use Remi repo to install any package that related to php such as phpmyadmin? if so, why yum has no process to prevent the problem? if it is not, why yum or Remi repo leave such situation to user like this is not their business? Anyway, in my another try, both php5.4 and phpmyadmin are installed from Remi repo...
  3. From phpMyAdmin web, I know that its 4.7 version can work with php 5.5 or later + Mysql 5.5 or later. However, I find only version 4.0 available for Centos 6 in Remi repo by command: yum list phpMy* My current installation is php 5.5.38 + Mysql 5.6. Can I install phpmyadmin 4.7 and how (under Centos 6.8)? I proceeded with installation even I found only 4.0 available as I attempted to upgrade to 4.7 after installation.

首先,如何从此处正确保存安装(包括php和mysql)并正确安装phpmyadmin(最好为4.7).因此,我不必重新构建系统....老实说,即使再次重新构建系统,我仍然不知道正确安装正确的phpmyadmin的正确方法的想法.

First of all, How can I save my installation (including php and mysql) and get phpmyadmin (better to be 4.7) installed properly from here. so I don't have to rebuild the system....Honestly, even rebuild the system again, I still have no idea about the right way to get right phpmyadmin installed without error.

注意:由于我的Magento网站是1.8,我必须坚持使用php 5.4或5.5

Note: I have to stick with php either 5.4 or 5.5 as my Magento site is 1.8

任何帮助和解释将不胜感激.预先谢谢你.

Any help and explanation will be greatly appreciated. thank you in advance.

补充:好的,通过谷歌搜索,第三个问题似乎可以从此处. 似乎我正在安装phpMyAdmin 4.7....但是为什么phpMyAdmin 4.7正式支持php 5.5以来的错误?网站回购或Remi回购太糟糕了吗?留下这样的依赖漏洞...如何从这里解决此类问题?

Supplement: Ok, by googling, the 3rd question seems found its answer from here. It seems I was installing phpMyAdmin 4.7....But why the error since php 5.5 is officially supported by phpMyAdmin 4.7? is the webtatic repo or the Remi repo too bad? leaving such dependency hole... How to address such issue from here?

推荐答案

您尝试过吗?

sudo yum install epel-release
sudo yum install phpmyadmin

( 查看全文

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