remicollet / remirepo

Issue tracker for

Home Page:https://rpms.remirepo.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't update to php 8.3

RV7PR opened this issue · comments

I can't update php 8.2 to php 8.3.
I have tried the following commands:

[root@dev ~]# yum-config-manager --enable remi-php83
Loaded plugins: fastestmirror
[root@dev ~]# yum update php\*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.nluug.nl
 * epel: ftp.nluug.nl
 * extras: centos.mirror.triple-it.nl
 * remi-safe: cdn.centos.no
 * rpmfusion-free-updates: mirror.netsite.dk
 * updates: centos.mirror.triple-it.nl
No packages marked for update
[root@dev ~]# yum install --enablerepo=remi-php83 php php-*
Loaded plugins: fastestmirror


Error getting repository data for remi-php83, repository not found

On which distro ?

For proper howto, follow the Wizard instructions
https://rpms.remirepo.net/wizard/

@remicollet CentOS 7

Notice: EL-7 is close to its end of live, in ~7 months so I recommend using a more modern version (EL-8 of even better, EL-9), especially for modern feature such as PHP 8.3

BTW, it works, again see the Wizard.

Oh, You're right, php 8.3 repository config is missing.

Fixed by https://git.remirepo.net/cgit/rpms/remi-release.git/commit/?h=el

  • remi-release-7.9-6.el7.remi is now available
#     yum-config-manager --enable   remi-php83
Loaded plugins: fastestmirror, langpacks
=========================================================== repo: remi-php83 ============================================================
[remi-php83]
async = True
...

# yum update
...
=========================================================================================================================================
 Package                         Arch                      Version                                   Repository                     Size
=========================================================================================================================================
Updating:
 php                             x86_64                    8.3.0-1.el7.remi                          remi-php83                    2.1 M
 php-cli                         x86_64                    8.3.0-1.el7.remi                          remi-php83                    6.2 M
 php-common                      x86_64                    8.3.0-1.el7.remi                          remi-php83                    1.2 M
 php-oci8                        x86_64                    8.3.0-1.el7.remi                          remi-php83                    178 k
 php-pdo                         x86_64                    8.3.0-1.el7.remi                          remi-php83                    160 k
 php-pecl-zip                    x86_64                    1.22.3-1.el7.remi.8.3                     remi-php83                     74 k
 php-process                     x86_64                    8.3.0-1.el7.remi                          remi-php83                    106 k
 php-sodium                      x86_64                    8.3.0-1.el7.remi                          remi-php83                    100 k
 php-xml                         x86_64                    8.3.0-1.el7.remi                          remi-php83                    253 k

Transaction Summary
=========================================================================================================================================
Upgrade  9 Packages

Total download size: 10 M
...

# php -v
PHP 8.3.0 (cli) (built: Nov 21 2023 14:40:35) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.3.0, Copyright (c) Zend Technologies

@remicollet Yes it's working now, thx!