Topic: updating from php 5.2.9 to php 5.3.1

hello there,

I have centos 5.3 and php 5.2.9. and I want php 5.3.x

so I used your rmp like:
rpm -Uhv http://rpms.famillecollet.com/enterpris … i.i386.rpm

and got

warning: /var/tmp/rpm-xfer.miUcSo: Header V3 DSA signature: NOKEY, key ID 00f97f56
error: Failed dependencies:
        httpd is needed by php-5.3.1-1.el5.remi.i386
        httpd-mmn = 20051115 is needed by php-5.3.1-1.el5.remi.i386
        php-cli = 5.3.1-1.el5.remi is needed by php-5.3.1-1.el5.remi.i386
        php-common = 5.3.1-1.el5.remi is needed by php-5.3.1-1.el5.remi.i386

So how can I make this work?
regards,
Daka

Re: updating from php 5.2.9 to php 5.3.1

Manual installation is possible but you need to install RPM in the good order
- httpd => php-common => php-cli => php

But the better solution still yum.

+

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: updating from php 5.2.9 to php 5.3.1

ok I did next on centos 5.3 32-bit:
rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi
cd /etc/yum.repos.d
wget http://rpms.famillecollet.com/remi-enterprise.repo
yum --enablerepo=remi update php

and it gives me:
could not find packages for update php

So this way didn't work either...

Re: updating from php 5.2.9 to php 5.3.1

Est-ce si compliqué de suivre les indications sur la Configuration du dépôt ?

Visiblement le dépôt n'est pas configuré ou le dépôt de base est prioritaire sur le mien.

Quelle est la sortie complète de

yum repolist
yum --enablerepo=remi update php

+

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: updating from php 5.2.9 to php 5.3.1

I didn't understend the french, but I needed to go to config: http://blog.famillecollet.com/pages/Config-en
And I did like this:
wget http://download.fedora.redhat.com/pub/e … ch.rpmwget http://rpms.famillecollet.com/enterpris … e-5.rpmrpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

next step was:
APT, but I didn't have any /etc/apt/sources.list.d/remi.list directory or file.
so repomd http://rpms.famillecollet.com/ fc$5.$REHL didn't work.

nxt step:
smart didn't get it also

next step:
su -
cd /etc/yum.repos.d
wget http://rpms.famillecollet.com/remi-enterprise.repo
this worked wel

and if I do
yum --enablerepo=remi update php
[root@XRE001 ~]# yum --enablerepo=remi update php
Loading "fastestmirror" plugin
Repository remi is listed more than once in the configuration
Repository remi-test is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* epel: ftp.uni-koeln.de
* remi: rpms.famillecollet.com
* extras: mirror.leaseweb.com
* updates: mirror.leaseweb.com
* base: mirror.leaseweb.com
* addons: mirror.leaseweb.com
Excluding Packages in global exclude list
Finished
Setting up Update Process
Could not find update match for php
No Packages marked for Update


On my machine at home centos 5.4 64bit it worked very wel, but on server centos 5.3 32bit where I pay for it, didn't work!

Re: updating from php 5.2.9 to php 5.3.1

If you apply "automatic configuration" (using remi-release RPM) you don't need to apply manual configuration.
That's the reason why "remi" repo is list twice (you should remove /etc/yum.repos.d/remi-enterprise.repo)


Excluding Packages in global exclude list

Check your exclude directive in yum and repository configuration.

but on server centos 5.3 32bit where I pay for it, didn't work!

Probably not a true CentOS (I bet on a plesk modified one)

+

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: updating from php 5.2.9 to php 5.3.1

Hello again....
how can I do: "Excluding Packages in global exclude list"??

help
tnx
daka

Re: updating from php 5.2.9 to php 5.3.1

ok I deleted /etc/yum.repos.d/remi-enterprise.repo
and nothing to update could not find pachage for update php!!!

And on my local machine installed perfectly!!!

what shoeld I do now??
tnx
Daka

Re: updating from php 5.2.9 to php 5.3.1

Check all exclude directives in all you *.repo file.

+

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