Re: IUS not pulling latest PHP packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Thanks Anand and Steve for the email response and appreciate it. Thanks a
lot.

On Fri, May 26, 2023 at 4:41 PM Steve Meier <email@xxxxxxxxxxxxxx> wrote:

> Hello,
>
> looking at the metadata for EPEL and IUS, neither seem to carry PHP 7.4.
> It is EOL anyway, so you should migrate to PHP 8.
>
> To find out where your current PHP comes from try something like:
> # rpm -qf /usr/bin/php
> # rpm -qi php
>
> I would recommend you switch to Remi's repo and upgrade to PHP 8:
> https://rpms.remirepo.net/
>
> Kind regards,
>    Steve
>
> Am 26.05.2023 12:50, schrieb Kaushal Shriyan:
> > Hi,
> >
> > I am running CentOS Linux release 7.9.2009 (Core) and have enabled both
> > epel and ius repository
> >
> >    - ius-release-2-1.el7.ius.noarch
> >    - epel-release-7-14.noarch
> >
> > IUS not pulling the latest PHP packages. I have ran yum clean metadata
> > and yum clean all commands but no luck.
> >
> > The latest version is *7.4.33*
> >
> > # php -v
> > PHP 7.4.30 (cli) (built: Jun 10 2022 16:22:42) ( NTS )
> > Copyright (c) The PHP Group
> > Zend Engine v3.4.0, Copyright (c) Zend Technologies
> >     with Zend OPcache v7.4.30, Copyright (c), by Zend Technologies
> >
> > EPEL repository
> > #########################cat
> >
> /etc/yum.repos.d/epel.repo################################################################
> > [epel]
> > name=Extra Packages for Enterprise Linux 7 - $basearch
> > # It is much more secure to use the metalink, but if you wish to use a
> > local mirror
> > # place its address here.
> > #baseurl=http://download.example/pub/epel/7/$basearch
> > metalink=
> >
> https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch&infra=$infra&content=$contentdir
> > failovermethod=priority
> > enabled=1
> > gpgcheck=1
> > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
> >
> > [epel-debuginfo]
> > name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
> > # It is much more secure to use the metalink, but if you wish to use a
> > local mirror
> > # place its address here.
> > #baseurl=http://download.example/pub/epel/7/$basearch/debug
> > metalink=
> >
> https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch&infra=$infra&content=$contentdir
> > failovermethod=priority
> > enabled=0
> > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
> > gpgcheck=1
> >
> > [epel-source]
> > name=Extra Packages for Enterprise Linux 7 - $basearch - Source
> > # It is much more secure to use the metalink, but if you wish to use a
> > local mirror
> > # place it's address here.
> > #baseurl=http://download.example/pub/epel/7/source/tree/
> > metalink=
> >
> https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch&infra=$infra&content=$contentdir
> > failovermethod=priority
> > enabled=0
> > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
> > gpgcheck=1
> >
> ####################################################################################################################
> >
> > IUS repository
> > #########################cat
> > /etc/yum.repos.d/ius.repo#########################################
> > [ius]
> > name = IUS for Enterprise Linux 7 - $basearch
> > baseurl = https://repo.ius.io/7/$basearch/
> > enabled = 1
> > repo_gpgcheck = 0
> > gpgcheck = 1
> > gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-IUS-7
> >
> > [ius-debuginfo]
> > name = IUS for Enterprise Linux 7 - $basearch - Debug
> > baseurl = https://repo.ius.io/7/$basearch/debug/
> > enabled = 0
> > repo_gpgcheck = 0
> > gpgcheck = 1
> > gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-IUS-7
> >
> > [ius-source]
> > name = IUS for Enterprise Linux 7 - Source
> > baseurl = https://repo.ius.io/7/src/
> > enabled = 0
> > repo_gpgcheck = 0
> > gpgcheck = 1
> > gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-IUS-7
> > #######################################################
> >
> > Please guide me. Thanks in advance.
> >
> > Best Regards,
> >
> > Kaushal
> > _______________________________________________
> > CentOS mailing list
> > CentOS@xxxxxxxxxx
> > https://lists.centos.org/mailman/listinfo/centos
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux