Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /data/e/7/e76990b9-3372-4d88-8089-fce36e16744a/webperfection.net/sub/rady-nosu/wp-content/plugins/seo-ultimate/modules/class.su-module.php on line 1195
redhat 6 - installing php7 + phpmyadmin 4.5 and mysql5.7

December 7, 2015 | In: Programovanie

redhat 6/debian 8 – installing php7 + phpmyadmin 4.5 and mysql5.7

short summary on how to update to the latest php7, phpmyadmin4.5 and mysql5.7 on redhat

install latest php7:

rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
yum remove php56w php56w-common php56w-cli
yum install php70w php70w-common php70w-cli php70w-dba php70w-intl php70w-mbstring php70w-mcrypt php70w-mysql php70w-opcache php70w-pdo php70w-soap php70w-tidy php70w-xml php70w-xmlrpc

install latest mysql5.7:

yum localinstall https://dev.mysql.com/get/mysql57-community-release-el6-7.noarch.rpm
yum install mysql-community-server

install latest phpmyadmin4.5

yum remove phpMyAdmin
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum --enablerepo=remi,remi-test install phpMyAdmin
yum info phpMyAdmin
vi /etc/phpMyAdmin/config.inc.php

update

For some reason I had to manually update the /etc/httpd/conf/httpd.conf



SetHandler application/x-httpd-php

I did not bother on Debian and went with ZendServer9 tech preview

If you end up with missing recode:

Error: Package: php70w-recode-7.0.8-1.w6.x86_64 (webtatic)
           Requires: librecode.so.0()(64bit)

If you are subscribed to optional repos and actually can install it from yum you can simply do:

yum install recode

However, if the library can’t be found, you can download and install recode yourself from:

http://www6.atomicorp.com/channels/atomic/centos/6/x86_64/RPMS/
http://www6.atomicorp.com/channels/atomic/centos/6/x86_64/RPMS/recode-3.6-28.el6.art.i686.rpm

Then install:

 rpm -Uvh recode-3.6-28.el6.art.x86_64.rpm
 yum install recode # just to confirm
#finally you can install the phpmyadmin
 yum --enablerepo=remi,remi-test install phpmyadmin


credit goes to this guys:

https://webtatic.com/packages/php70
http://tecadmin.net/how-to-install-phpmyadmin-on-centos-using-yum/

Share This:

Comments are closed.