Topic: How go back from remi php5.5.28 to 5.4.x

Hi,

I have been running off remi php54 for some time, a few weeks ago installed remi php5.5.28 and I have discovered that some of the software I use does not like remi php 5.5.28. How can I go back to remi php 5.4.x. I see I have 5.4, 5.5 and 5.6 all installed. How do switch back to 5.4.x ?

php -v tells me 5.5.28 is active. yum tells me that remi 54, 55 and 56 are all installed

Thanks in advance for your help

Re: How go back from remi php5.5.28 to 5.4.x

> php -v tells me 5.5.28 is active. yum tells me that remi 54, 55 and 56 are all installed

Please explain this ? (rpm -qa php\*)

> How can I go back to remi php 5.4.x.

Disable the "remi-php55" repo and yum downgrade php\*
Or yum history undo can also work.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: How go back from remi php5.5.28 to 5.4.x

Notice: php 5.4 is near to EOL, so you will have to update to 5.5 or 5.6 soon.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

4 (edited by kbski 2015-09-03 17:45:58)

Re: How go back from remi php5.5.28 to 5.4.x

Hi thanks,

==
# rpm -qa php\*
php-common-5.5.28-1.el6.remi.x86_64
php-gd-5.5.28-1.el6.remi.x86_64
php-soap-5.5.28-1.el6.remi.x86_64
php54-php-xml-5.4.44-1.el6.remi.x86_64
php-pecl-zip-1.12.5-1.el6.remi.5.5.x86_64
php-cli-5.5.28-1.el6.remi.x86_64
php-mysqlnd-5.5.28-1.el6.remi.x86_64
php-xml-5.5.28-1.el6.remi.x86_64
php-process-5.5.28-1.el6.remi.x86_64
php-mbstring-5.5.28-1.el6.remi.x86_64
php54-runtime-2.1-1.el6.remi.x86_64
php54-php-cli-5.4.44-1.el6.remi.x86_64
php54-php-process-5.4.44-1.el6.remi.x86_64
php54-2.1-1.el6.remi.x86_64
php-pear-1.9.5-13.el6.remi.noarch
php-pecl-jsonc-1.3.7-1.el6.remi.5.5.x86_64
php-pdo-5.5.28-1.el6.remi.x86_64
php-5.5.28-1.el6.remi.x86_64
php-imap-5.5.28-1.el6.remi.x86_64
php54-php-common-5.4.44-1.el6.remi.x86_64
php54-php-pear-1.9.5-12.el6.remi.noarch
==
# php -v
PHP 5.5.28 (cli) (built: Aug  6 2015 08:53:05)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.16, Copyright (c) 2002-2015, by ionCube Ltd.
==
# yum --enablerepo=remi install php54
Package php54-2.1-1.el6.remi.x86_64 already installed and latest version
Nothing to do
==
since I put remi php55 on my vps i have been having weird stuff going on with ioncube loaders. saying that various scripts/software that i use needs uptodate ioncube loaders when ioncube loaders are already uptodate on my system.

I just want to go back to remi-php54 - everything worked fine then.

when i do "yum downgrade php\*" i get loads of errors, so "yum downgrade php\* --skip-broken" runs ok but tells me its going downgrade me to php5.3.3 so i hit N as don't want php5.3.

I want to get back to remi-php54

Apologies for not being being a specialist on this - any further help is much appreciated

Should i go back to 5.3.3 and then install remi-php54 again - Im worried that i'll have more issues. one thing leads to another wink

whats best to do i am trying to work out.

thank you

Re: How go back from remi php5.5.28 to 5.4.x

php54-php-* are SCL package, you probably don't need.
See http://blog.remirepo.net/pages/English-FAQ#scl

> when i do "yum downgrade php\*" i get loads of errors, so "yum downgrade php\* --skip-broken" runs ok but tells me its going downgrade me to php5.3.3 so i hit N as don't want php5.3.

If you want php 5.4, you need to enable "remi" repo.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: How go back from remi php5.5.28 to 5.4.x

Sorry i just edited the post as you replied.

# yum --enablerepo=remi install php54
Package php54-2.1-1.el6.remi.x86_64 already installed and latest version
Nothing to do
==

so why does php -v give me 5.5.28

thank you

Re: How go back from remi php5.5.28 to 5.4.x

you don't need "php54" (SCL) but "php" (base package).
Read above link.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

8 (edited by kbski 2015-09-03 18:35:51)

Re: How go back from remi php5.5.28 to 5.4.x

Hi, thanks.

Ok sorry. I understand the what the SCL is now.

I have this in my "File: /etc/yum.repos.d/remi.repo"

===
[remi]
name=Remi's RPM repository for Enterprise Linux 6 - $basearch
#baseurl=__REMOVED_BECAUS ECANT POST LINKS!_://rpms.remirepo.net/enterprise/6/remi/$basearch/
mirrorlist=__REMOVED_BECAUS ECANT POST LINKS!_://rpms.remirepo.net/enterprise/6/remi/mirror
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

[remi-php55]
name=Remi's PHP 5.5 RPM repository for Enterprise Linux 6 - $basearch
#baseurl=__REMOVED_BECAUS ECANT POST LINKS!_://rpms.remirepo.net/enterprise/6/php55/$basearch/
mirrorlist=__REMOVED_BECAUS ECANT POST LINKS!_://rpms.remirepo.net/enterprise/6/php55/mirror
# WARNING: If you enable this repository, you must also enable "remi"
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

[remi-php56]
name=Remi's PHP 5.6 RPM repository for Enterprise Linux 6 - $basearch
#baseurl=__REMOVED_BECAUS ECANT POST LINKS!_://rpms.remirepo.net/enterprise/6/php56/$basearch/
mirrorlist=__REMOVED_BECAUS ECANT POST LINKS!_://rpms.remirepo.net/enterprise/6/php56/mirror
# WARNING: If you enable this repository, you must also enable "remi"
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

...and other debug stuff. too much to paste in
====


I just enabled php56 repo as you see there above, and just updated php to 5.6

I don't have the php54 section in the my remi.repo - how can add it. whats the command. when i try copying the section and changing the urls it doesnt work out.

Even on php 56 and I'm still getting annoyance from ioncube loader with all sorts of stuff i use.

""blahblahblah.php cannot be decoded\nby this version of the ionCube Loader.\n If you are the administrator of this site\nthen please install the latest version of the ionCube Loader.\n in Unknown on line 0""

I get that on php 55 and 56

Driving me round the bend as it not just one piece of software its many. So its not the script, its my server config. and ioncube is uptodate and the proper .so is added in my php.ini

and all the scripts in question are designed for php54 - 56 - they should work on all versions

thank you

Re: How go back from remi php5.5.28 to 5.4.x

php 5.4 is in remi
php 5.5 is in remi-php55
php 5.6 is in remi-php70

As explain on http://rpms.remirepo.net/enterprise/6/

But probably you should ask on ioncube forum about this error message.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: How go back from remi php5.5.28 to 5.4.x

Ah i see.

With remi enabled, yum downgrade php\* - gives a lots of errors, too many to paste.

with remi enabled, yum install php - tells me php5.4.45 is installed.

php -v tells me that currently 5.6.13 is installed since i just installed it with [remi-php56] repo enabled.

I will ask ioncube about the error.

It appears i have php 5.4.45 and 5.6.13 installed

Re: How go back from remi php5.5.28 to 5.4.x

> It appears i have php 5.4.45 and 5.6.13 installed
Not possible.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: How go back from remi php5.5.28 to 5.4.x

Sorry i paste in the wrong round, going in circles here.

With remi disabled and remi-php56 enabled in remi.repo -
"yum install php" tells me:
Package php-5.6.13-1.el6.remi.x86_64 already installed and latest version


With remi enabled and remi-php56 disabled in remi.repo -
"yum install php" tells me:
Package matching php-5.4.45-1.el6.remi.x86_64 already installed. Checking for update.

Re: How go back from remi php5.5.28 to 5.4.x

rpm -qa php\* | sort

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: How go back from remi php5.5.28 to 5.4.x

rpm -qa php\* | sort
php-5.6.13-1.el6.remi.x86_64
php-cli-5.6.13-1.el6.remi.x86_64
php-common-5.6.13-1.el6.remi.x86_64
php-gd-5.6.13-1.el6.remi.x86_64
php-imap-5.6.13-1.el6.remi.x86_64
php-mbstring-5.6.13-1.el6.remi.x86_64
php-mysqlnd-5.6.13-1.el6.remi.x86_64
php-pdo-5.6.13-1.el6.remi.x86_64
php-pear-1.9.5-13.el6.remi.noarch
php-pecl-jsonc-1.3.7-1.el6.remi.5.6.x86_64
php-pecl-zip-1.12.5-1.el6.remi.5.6.x86_64
php-process-5.6.13-1.el6.remi.x86_64
php-soap-5.6.13-1.el6.remi.x86_64
php-xml-5.6.13-1.el6.remi.x86_64
php54-php-cli-5.4.44-1.el6.remi.x86_64
php54-php-common-5.4.44-1.el6.remi.x86_64
php54-php-pear-1.9.5-12.el6.remi.noarch
php54-php-process-5.4.44-1.el6.remi.x86_64
php54-php-xml-5.4.44-1.el6.remi.x86_64
php54-runtime-2.1-1.el6.remi.x86_64

Re: How go back from remi php5.5.28 to 5.4.x

So you have 5.6.13 and only 5.6.13.

yum remove php\*

yum \
  --enablerepo=remi --disablerepo=remi-php55 --disablerepo=remi-php56 \
  install \
  php php-cli php-common php-gd php-imap php-mbstring php-mysqlnd php-pdo php-process php-soap php-xml php-pear
Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: How go back from remi php5.5.28 to 5.4.x

Thanks for your help. I have noted your last message there.

But after weeks of annoyance with ioncube, its just this minute decided to work with php56! No more errors!

Maybe there was some config error(my fault) when 5.5.28 was installed.

I will stay on php56.

Sorry to have done your head in. Thanks for your help.

Re: How go back from remi php5.5.28 to 5.4.x

smile

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi