Bug 30704 - PHP Update to latest 8.0.22
Summary: PHP Update to latest 8.0.22
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-04 12:45 CEST by Marc Krämer
Modified: 2022-08-13 04:33 CEST (History)
4 users (show)

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


Attachments

Description Marc Krämer 2022-08-04 12:45:34 CEST
new release
https://www.php.net/ChangeLog-8.php#8.0.22
Comment 1 Marc Krämer 2022-08-04 12:50:06 CEST
Suggested advisory:
========================
Updated to the lastest release:
CLI:
- Fixed potential overflow for the builtin server via the PHP_CLI_SERVER_WORKERS environment variable.

Core:
- Fixed bug GH-8995 (WeakMap object reference offset causing TypeError).

Date:
- Fixed bug #80047 (DatePeriod doesn't warn with custom DateTimeImmutable).

DBA:
- Fixed LMDB driver hanging when attempting to delete a non-existing key.

FPM:
- Fixed zlog message prepend, free on incorrect address.
- Fixed possible double free on configuration loading failure.

GD:
- Fixed bug GH-8848 (imagecopyresized() error refers to the wrong argument).

Intl:
- Fixed build for ICU 69.x and onwards.

OPcache:
- Fixed bug GH-8847 (PHP hanging infinitly at 100% cpu when check php syntaxe of a valid file).

References:
https://www.php.net/ChangeLog-8.php#8.0.22
========================

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

SRPM:
php-8.2.0-0.beta2.2.mga9.src.rpm

Assignee: mageia => qa-bugs

Comment 2 Herman Viaene 2022-08-04 14:22:00 CEST
Is mga9 a typo. If not, what is this doing in the QA here. We deal only with released versions, not with cauldron????

CC: (none) => herman.viaene

Comment 3 Marc Krämer 2022-08-04 15:14:47 CEST
You're right - I was in a hurry. I missed to built it. Sorry. It comes later on.

Assignee: qa-bugs => mageia

Comment 4 Marc Krämer 2022-08-04 23:46:49 CEST
No, it was built, but was not in the list of builds anymore...
Ok, here is the correct list (sorry again)

SRPM:
php-8.0.22-1.mga8.src.rpm

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

Assignee: mageia => qa-bugs

Comment 5 Herman Viaene 2022-08-05 10:52:30 CEST
MGA8-64 Plasma on Acer Aspire 5253
No installation isues
Ref bug 30533 for testing
At CLI:
$ php -S localhost:8000 -t php
[Fri Aug  5 10:38:34 2022] PHP 8.0.22 Development Server (http://localhost:8000) started
[Fri Aug  5 10:38:43 2022] [::1]:44058 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
[Fri Aug  5 10:38:43 2022] [::1]:44058 [200]: GET /create-png.php
[Fri Aug  5 10:38:43 2022] [::1]:44058 Closing
[Fri Aug  5 10:38:45 2022] [::1]:44066 Accepted
[Fri Aug  5 10:38:45 2022] [::1]:44066 [404]: GET /favicon.ico - No such file or directory
[Fri Aug  5 10:38:45 2022] [::1]:44066 Closing
[Fri Aug  5 10:38:51 2022] [::1]:36484 Accepted
[Fri Aug  5 10:38:51 2022] [::1]:36484 [200]: GET /sample.php
[Fri Aug  5 10:38:51 2022] [::1]:36484 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.
Comment 6 Marc Krämer 2022-08-05 11:07:36 CEST
@Herman: thx - sorry for the mess before. Can you test backported php 8.1 too? This is on hold for a longer time and get updated yesterday as well.
Comment 7 Brian Rockwell 2022-08-10 01:29:47 CEST
I build out nextcloud 23 server with mariadb using php 8.0.22

(medium "Core Updates Testing (distrib5)")
  php-apcu                       5.1.20       1.mga8        i586    
  php-bcmath                     8.0.22       1.mga8        i586    
  php-bz2                        8.0.22       1.mga8        i586    
  php-cgi                        8.0.22       1.mga8        i586    
  php-cli                        8.0.22       1.mga8        i586    
  php-ctype                      8.0.22       1.mga8        i586    
  php-curl                       8.0.22       1.mga8        i586    
  php-dom                        8.0.22       1.mga8        i586    
  php-exif                       8.0.22       1.mga8        i586    
  php-fileinfo                   8.0.22       1.mga8        i586    
  php-filter                     8.0.22       1.mga8        i586    
  php-gd                         8.0.22       1.mga8        i586    
  php-gmp                        8.0.22       1.mga8        i586    
  php-iconv                      8.0.22       1.mga8        i586    
  php-ini                        8.0.22       1.mga8        i586    
  php-intl                       8.0.22       1.mga8        i586    
  php-ldap                       8.0.22       1.mga8        i586    
  php-mbstring                   8.0.22       1.mga8        i586    
  php-mysqlnd                    8.0.22       1.mga8        i586    
  php-opcache                    8.0.22       1.mga8        i586    
  php-openssl                    8.0.22       1.mga8        i586    
  php-pcntl                      8.0.22       1.mga8        i586    
  php-posix                      8.0.22       1.mga8        i586    
  php-session                    8.0.22       1.mga8        i586    
  php-sodium                     8.0.22       1.mga8        i586    
  php-sysvsem                    8.0.22       1.mga8        i586    
  php-sysvshm                    8.0.22       1.mga8        i586    
  php-tokenizer                  8.0.22       1.mga8        i586    
  php-xmlreader                  8.0.22       1.mga8        i586    
  php-xmlwriter                  8.0.22       1.mga8        i586    
  php-zip                        8.0.22       1.mga8        i586    
  php-zlib                       8.0.22       1.mga8        i586  


It works.

CC: (none) => brtians1

Comment 8 Marc Krämer 2022-08-11 12:34:24 CEST
i think some OK is missing here to indicate it passed the test.
Brian Rockwell 2022-08-11 15:27:42 CEST

Whiteboard: (none) => MGA8-32-OK

Comment 9 Dave Hodgins 2022-08-11 18:53:51 CEST
Tested using phpmyadmin. Validating the update.

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

Dave Hodgins 2022-08-12 21:50:07 CEST

Keywords: (none) => advisory

Comment 10 Mageia Robot 2022-08-13 04:33:32 CEST
An update for this issue has been pushed to the Mageia Updates repository.

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

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


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