Bug 30793 - update php to 8.0.23
Summary: update php to 8.0.23
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-32-OK MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2022-08-31 17:06 CEST by Marc Krämer
Modified: 2022-09-21 20:16 CEST (History)
6 users (show)

See Also:
Source RPM: php
CVE:
Status comment:


Attachments

Description Marc Krämer 2022-08-31 17:06:08 CEST
update to 8.0.23 available.
Comment 1 Morgan Leijström 2022-08-31 18:58:00 CEST
If it is ready for QA, please assign to QA.
Also please list both used srpms, and rpms to test.
Same for the backport :)

CC: (none) => fri

Comment 2 Marc Krämer 2022-08-31 19:10:28 CEST
waiting for the release notes...
Comment 3 David Walser 2022-08-31 22:51:42 CEST
Thanks, this will allow for Bug 30543 to be tested too.
Comment 4 Marc Krämer 2022-09-01 14:18:18 CEST
SRPM:
php-8.0.23-1.mga8.src.rpm

RPMs in core/updates_testing:
php-dom-debuginfo-8.0.23-1.mga8
php-openssl-debuginfo-8.0.23-1.mga8
php-phar-debuginfo-8.0.23-1.mga8
php-mbstring-8.0.23-1.mga8
php-mysqlnd-debuginfo-8.0.23-1.mga8
php-debuginfo-8.0.23-1.mga8
php-mbstring-debuginfo-8.0.23-1.mga8
php-opcache-8.0.23-1.mga8
php-pgsql-debuginfo-8.0.23-1.mga8
php-intl-8.0.23-1.mga8
php-mysqli-debuginfo-8.0.23-1.mga8
php-curl-debuginfo-8.0.23-1.mga8
php-pdo-debuginfo-8.0.23-1.mga8
php-fileinfo-debuginfo-8.0.23-1.mga8
php-intl-debuginfo-8.0.23-1.mga8
php-ini-8.0.23-1.mga8
php-soap-debuginfo-8.0.23-1.mga8
php-sockets-debuginfo-8.0.23-1.mga8
php-session-debuginfo-8.0.23-1.mga8
php-phar-8.0.23-1.mga8
php-soap-8.0.23-1.mga8
php-mysqlnd-8.0.23-1.mga8
php-imap-debuginfo-8.0.23-1.mga8
php-gmp-debuginfo-8.0.23-1.mga8
php-ldap-debuginfo-8.0.23-1.mga8
php-gd-debuginfo-8.0.23-1.mga8
php-exif-debuginfo-8.0.23-1.mga8
php-zip-debuginfo-8.0.23-1.mga8
php-ftp-debuginfo-8.0.23-1.mga8
php-snmp-debuginfo-8.0.23-1.mga8
php-sodium-debuginfo-8.0.23-1.mga8
php-dba-debuginfo-8.0.23-1.mga8
php-openssl-8.0.23-1.mga8
php-bcmath-debuginfo-8.0.23-1.mga8
php-dom-8.0.23-1.mga8
php-doc-8.0.23-1.mga8
php-tidy-debuginfo-8.0.23-1.mga8
php-sqlite3-debuginfo-8.0.23-1.mga8
php-filter-debuginfo-8.0.23-1.mga8
php-iconv-debuginfo-8.0.23-1.mga8
php-pdo-8.0.23-1.mga8
php-mysqli-8.0.23-1.mga8
php-posix-debuginfo-8.0.23-1.mga8
php-pgsql-8.0.23-1.mga8
php-zlib-debuginfo-8.0.23-1.mga8
php-odbc-debuginfo-8.0.23-1.mga8
php-pdo_pgsql-debuginfo-8.0.23-1.mga8
php-session-8.0.23-1.mga8
php-sockets-8.0.23-1.mga8
php-xsl-debuginfo-8.0.23-1.mga8
php-pdo_mysql-debuginfo-8.0.23-1.mga8
php-curl-8.0.23-1.mga8
php-pdo_firebird-debuginfo-8.0.23-1.mga8
php-gd-8.0.23-1.mga8
php-pdo_sqlite-debuginfo-8.0.23-1.mga8
php-tokenizer-debuginfo-8.0.23-1.mga8
php-imap-8.0.23-1.mga8
php-xmlwriter-debuginfo-8.0.23-1.mga8
php-calendar-debuginfo-8.0.23-1.mga8
php-exif-8.0.23-1.mga8
php-sodium-8.0.23-1.mga8
php-pdo_dblib-debuginfo-8.0.23-1.mga8
php-readline-debuginfo-8.0.23-1.mga8
php-zip-8.0.23-1.mga8
php-pcntl-debuginfo-8.0.23-1.mga8
php-ldap-8.0.23-1.mga8
php-xmlreader-debuginfo-8.0.23-1.mga8
php-gmp-8.0.23-1.mga8
php-dba-8.0.23-1.mga8
php-ftp-8.0.23-1.mga8
php-odbc-8.0.23-1.mga8
php-zlib-8.0.23-1.mga8
php-sqlite3-8.0.23-1.mga8
php-tidy-8.0.23-1.mga8
php-enchant-debuginfo-8.0.23-1.mga8
php-bz2-debuginfo-8.0.23-1.mga8
php-pdo_odbc-debuginfo-8.0.23-1.mga8
php-snmp-8.0.23-1.mga8
php-pdo_pgsql-8.0.23-1.mga8
php-iconv-8.0.23-1.mga8
php-bcmath-8.0.23-1.mga8
php-filter-8.0.23-1.mga8
php-sysvmsg-debuginfo-8.0.23-1.mga8
php-pcntl-8.0.23-1.mga8
php-xmlwriter-8.0.23-1.mga8
php-ctype-debuginfo-8.0.23-1.mga8
php-gettext-debuginfo-8.0.23-1.mga8
php-posix-8.0.23-1.mga8
php-pdo_firebird-8.0.23-1.mga8
php-xmlreader-8.0.23-1.mga8
php-pdo_mysql-8.0.23-1.mga8
php-calendar-8.0.23-1.mga8
php-readline-8.0.23-1.mga8
php-sysvshm-debuginfo-8.0.23-1.mga8
php-pdo_sqlite-8.0.23-1.mga8
php-xsl-8.0.23-1.mga8
php-tokenizer-8.0.23-1.mga8
php-bz2-8.0.23-1.mga8
php-pdo_dblib-8.0.23-1.mga8
php-enchant-8.0.23-1.mga8
php-sysvsem-debuginfo-8.0.23-1.mga8
php-shmop-debuginfo-8.0.23-1.mga8
php-pdo_odbc-8.0.23-1.mga8
php-cli-8.0.23-1.mga8
php-gettext-8.0.23-1.mga8
php-sysvsem-8.0.23-1.mga8
php-shmop-8.0.23-1.mga8
php-sysvmsg-8.0.23-1.mga8
php-ctype-8.0.23-1.mga8
php-sysvshm-8.0.23-1.mga8
php-fpm-nginx-8.0.23-1.mga8
php-fpm-apache-8.0.23-1.mga8
phpdbg-8.0.23-1.mga8
php-cgi-8.0.23-1.mga8
php-fpm-8.0.23-1.mga8
php-opcache-debuginfo-8.0.23-1.mga8
apache-mod_php-8.0.23-1.mga8
php-fileinfo-8.0.23-1.mga8
apache-mod_php-debuginfo-8.0.23-1.mga8
php-cli-debuginfo-8.0.23-1.mga8
php-fpm-debuginfo-8.0.23-1.mga8
php-cgi-debuginfo-8.0.23-1.mga8
phpdbg-debuginfo-8.0.23-1.mga8
php-debugsource-8.0.23-1.mga8
php-devel-8.0.23-1.mga8



=>I'll write an advisory, when upstream changelog is available :)

Assignee: mageia => qa-bugs

Comment 5 Marc Krämer 2022-09-01 16:03:33 CEST
Suggested advisory:
========================

Updated php package brings the latest bug fixes.

Core:
- Fixed incorrect double to long casting in latest clang.

DBA:
- Fixed LMDB driver memory leak on DB creation failure (Girgias)
- Fixed bug dba_open("non-existing", "c-", "flatfile") segfaults.

Intl:
- Fixed IntlDateFormatter::formatObject() parameter type.

OPcache:
- Fixed bug Loading blacklist file can fail due to negative length.

PDO_SQLite:
- Fixed bug SQLite3 authorizer crashes on NULL values.

SQLite3:
- Fixed bug SQLite3 authorizer crashes on NULL values.

Standard:
- Fixed bug php_stream_sock_open_from_socket could return NULL.

Streams:
- Fixed bug The resource returned by stream_socket_accept may have incorrect metadata.
- Fixed bug SSL handshake timeout leaves persistent connections hanging.


References:
https://www.php.net/ChangeLog-8.php#8.0.23
Comment 6 Herman Viaene 2022-09-12 16:41:05 CEST
MGA8-64 Plasma on Acer Aspire 5253
No installation issues
Repeated tests as in bug 30704 Comment 5
At CLI:
$ php -S localhost:8000 -t php
[Mon Sep 12 16:27:14 2022] PHP 8.0.23 Development Server (http://localhost:8000) started
[Mon Sep 12 16:27:29 2022] [::1]:45134 Accepted
Then pointing firefox to http://localhost:8000/create-png.php and http://localhost:8000/sample.php displays correct image and text message.
while gving feedback on the CLI
[Mon Sep 12 16:27:30 2022] [::1]:45134 [200]: GET /create-png.php
[Mon Sep 12 16:27:30 2022] [::1]:45134 Closing
[Mon Sep 12 16:27:42 2022] [::1]:48656 Accepted
[Mon Sep 12 16:27:42 2022] [::1]:48656 [200]: GET /sample.php
[Mon Sep 12 16:27:42 2022] [::1]:48656 Closing

Make sure httpd and mysqld are running, then start phpmyadmin, login, delete a previous test database, create a new database and create a new table and insert some values.

All works OK. Good to go for me.

CC: (none) => herman.viaene

Comment 7 Brian Rockwell 2022-09-16 17:22:21 CEST
Strange one here.

When I clicked on php-dom to upgrade it came back with these dependencies:

To satisfy dependencies, the following package(s) also need to be installed:

- apache-mod_php-8.1.9-1.mga8.i586
- php-cgi-8.1.9-1.mga8.i586
- php-curl-8.1.9-1.mga8.i586
- php-dom-8.1.5-1.mga8.i586
- php-exif-8.1.9-1.mga8.i586
- php-fileinfo-8.1.9-1.mga8.i586
- php-filter-8.1.9-1.mga8.i586
- php-gd-8.1.9-1.mga8.i586
- php-iconv-8.1.9-1.mga8.i586
- php-imagick-3.6.0-0.3.mga8.i586
- php-ini-8.1.9-1.mga8.i586
- php-intl-8.1.9-1.mga8.i586
- php-ldap-8.1.9-1.mga8.i586
- php-mbstring-8.1.9-1.mga8.i586
- php-mysqlnd-8.1.9-1.mga8.i586
- php-openssl-8.1.9-1.mga8.i586
- php-pcntl-8.1.9-1.mga8.i586
- php-pdo-8.1.9-1.mga8.i586
- php-pdo_mysql-8.1.9-1.mga8.i586
- php-pdo_sqlite-8.1.9-1.mga8.i586
- php-session-8.1.9-1.mga8.i586
- php-sysvsem-8.1.9-1.mga8.i586
- php-sysvshm-8.1.9-1.mga8.i586
- php-xmlreader-8.1.5-1.mga8.i586
- php-xmlreader-8.1.5-1.mga8.i586
- php-xmlwriter-8.1.9-1.mga8.i586
- php-zip-8.1.9-1.mga8.i586
- php-zlib-8.1.9-1.mga8.i586


bad link?

Whiteboard: (none) => feedback
CC: (none) => brtians1

Comment 8 Morgan Leijström 2022-09-16 17:59:36 CEST
Bug 29830 ?
Comment 9 Brian Rockwell 2022-09-16 19:01:27 CEST
that seems plausible.  I'll try the urpmi.removemedia -y Back command later when I get off of work.
Comment 10 Brian Rockwell 2022-09-16 23:32:16 CEST
Hey Morgan - that fixed it.  I'll remove feedback.

Marking php-session as manually installed, it won't be auto-orphaned
writing /var/lib/rpm/installed-through-deps.list
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Updates Testing (distrib5)")
  apache-mod_php                 8.0.23       1.mga8        i586    
  php-cgi                        8.0.23       1.mga8        i586    
  php-ini                        8.0.23       1.mga8        i586    
  php-openssl                    8.0.23       1.mga8        i586    
  php-session                    8.0.23       1.mga8        i586    
  php-sysvsem                    8.0.23       1.mga8        i586    
  php-sysvshm                    8.0.23       1.mga8        i586    
  php-zlib                       8.0.23       1.mga8        i586    
1KB of additional disk space will be used.
3.6MB of packages will be retrieved.


The following 14 packages are going to be installed:

- php-curl-8.0.23-1.mga8.i586
- php-dom-8.0.23-1.mga8.i586
- php-exif-8.0.23-1.mga8.i586
- php-fileinfo-8.0.23-1.mga8.i586
- php-iconv-8.0.23-1.mga8.i586
- php-intl-8.0.23-1.mga8.i586
- php-ldap-8.0.23-1.mga8.i586
- php-mbstring-8.0.23-1.mga8.i586
- php-mysqlnd-8.0.23-1.mga8.i586
- php-pcntl-8.0.23-1.mga8.i586
- php-pdo-8.0.23-1.mga8.i586
- php-pdo_mysql-8.0.23-1.mga8.i586
- php-pdo_sqlite-8.0.23-1.mga8.i586
- php-xmlreader-8.0.23-1.mga8.i586

rebooted

Nextcloud is working, which I consider a reliable test.

Whiteboard: feedback => MGA8-32-OK

Comment 11 Thomas Andrews 2022-09-19 01:43:48 CEST
Adding a 64-bit OK because of Comment 6, and validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs
Whiteboard: MGA8-32-OK => MGA8-32-OK MGA8-64-OK

Dave Hodgins 2022-09-20 22:23:53 CEST

CC: (none) => davidwhodgins
Keywords: (none) => advisory

Comment 12 Mageia Robot 2022-09-21 20:16:45 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2022-0126.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.