简体   繁体   English

如何在Centos 6.8和php 5.5上安装phpMyadmin

[英]How to install phpMyadmin on Centos 6.8 with php 5.5

I have several headaches on installing phpMyAdmin on Centos 6.8 I have php 5.5 installed from webtatic repo. 在Centos 6.8上安装phpMyAdmin时,我有些头疼。我从webtatic回购中安装了php 5.5。 Mysql 5.6 installed as well. 也安装了mysql 5.6。 When I install phpMyAdmin by 当我通过安装phpMyAdmin

# 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

I got these errors: 我收到这些错误:

在此处输入图片说明

在此处输入图片说明

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 实际上,我之前曾进行过另一次试用,我从Remi repo安装了php 5.4,并且在安装phpmyadmin时遇到类似的问题,请参阅另一篇文章。

I am relatively new to Linux server stuff. 我对Linux服务器东西比较陌生。 I have several questions and hopefully someone could help me out. 我有几个问题,希望有人可以帮助我。

  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. 看来yum已删除了一些我的php5.5模块,而未安装替换模块。 those php module being removed are needed by my Magento site. 我的Magento网站需要删除那些php模块。 And I don't know if phpmyadmin has been installed or not. 而且我不知道是否已安装phpmyadmin。
  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? 我不知道是什么原因/是谁引起的,或者是因为我的php是从webtatic仓库安装的,所以我不能使用Remi仓库来安装任何与php相关的软件包,例如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? 如果不是,为什么yum或Remi repo将这种情况留给用户,因为这不是他们的事? Anyway, in my another try, both php5.4 and phpmyadmin are installed from Remi repo... 无论如何,在我的另一次尝试中,从Remi安装了php5.4和phpmyadmin ...
  3. From phpMyAdmin web, I know that its 4.7 version can work with php 5.5 or later + Mysql 5.5 or later. 从phpMyAdmin网站上,我知道它的4.7版本可以与php 5.5或更高版本+ Mysql 5.5或更高版本一起使用。 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. 但是,通过命令我只能在Remi repo中找到适用于Centos 6的版本4.0:yum list phpMy *我当前的安装是php 5.5.38 + Mysql 5.6。 Can I install phpmyadmin 4.7 and how (under Centos 6.8)? 我可以安装phpmyadmin 4.7以及如何安装(在Centos 6.8下)吗? I proceeded with installation even I found only 4.0 available as I attempted to upgrade to 4.7 after installation. 我什至在安装后尝试升级到4.7的情况下仍进行安装,甚至发现只有4.0可用。

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

Note: I have to stick with php either 5.4 or 5.5 as my Magento site is 1.8 注意:由于我的Magento网站是1.8,因此我必须坚持使用php 5.4或5.5

Any help and explanation will be greatly appreciated. 任何帮助和解释将不胜感激。 thank you in advance. 先感谢您。

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? 似乎我正在安装phpMyAdmin 4.7 ....但是为什么phpMyAdmin 4.7正式支持php 5.5以来的错误? is the webtatic repo or the Remi repo too bad? 网站回购或Remi回购太糟糕了吗? leaving such dependency hole... How to address such issue from here? 留下这样的依赖漏洞...如何从这里解决此类问题?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM