Bug 32462 - PHP Update to latest 8.2.12
Summary: PHP Update to latest 8.2.12
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2023-10-28 11:28 CEST by Marc Krämer
Modified: 2023-11-05 22:17 CET (History)
4 users (show)

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


Attachments
test command for php to create a png (247 bytes, application/x-php)
2023-11-02 17:27 CET, Herman Viaene
Details
php test to display text (106 bytes, application/x-php)
2023-11-02 17:28 CET, Herman Viaene
Details

Description Marc Krämer 2023-10-28 11:28:54 CEST
regular bug fix update
https://www.php.net/ChangeLog-8.php#8.2.12
Comment 1 Marc Krämer 2023-10-28 11:33:50 CEST
Updated php package fixes some bugs:
Core:
- memory leak when class using trait with doc block
- Module entry being overwritten causes type errors in ext/dom
- __builtin_cpu_init check
- ZTS + preload = segfault on shutdown

CLI:
- Ensure a single Date header is present.

CType:
- ctype_alnum 5 times slower in PHP 8.1 or greater

DOM:
- Restore old namespace reconciliation behaviour.
- DOMNode serialization on PHP ^8.1

Fileinfo:
- fileinfo returns text/xml for some svg files

Filter:
- Fix explicit FILTER_REQUIRE_SCALAR with FILTER_CALLBACK

Hash:
- segfault copying/cloning a finalized HashContext

Intl:
- segfault on IntlDateFormatter::construct
- IntlDateFormatter::construct should throw an exception on an invalid locale

MySQLnd:
- PHP Startup: Invalid library (maybe not a PHP library) 'mysqlnd.so' in Unknown on line

Opcache:
- Fixed opcache_invalidate() on deleted file.
- JIT+private array property access inside closure accesses private property in child class

SimpleXML:
- Can't use xpath with comments in SimpleXML
- Entity reference produces infinite loop in var_dump/print_r
- Unable to get processing instruction contents in SimpleXML
- Unable to get comment contents in SimpleXML

Streams:
- binding ipv4 address with both address and port at 0

XML:
- Fix return type of stub of xml_parse_into_struct()
- Fix memory leak when calling xml_parse_into_struct() twice.

XSL:
- Fix type error on XSLTProcessor::transformToDoc return value with SimpleXML.

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

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

SRPM:
php-8.2.12-1.mga9.src.rpm

Assignee: mageia => qa-bugs

Comment 2 Marja Van Waes 2023-10-28 15:27:23 CEST
Advisory from comment 1 added to SVN. Please remove the "advisory" keyword if it needs to be changed. It also helps when obsolete advisories are tagged as "obsolete"

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

Comment 3 Herman Viaene 2023-11-02 17:26:42 CET
MGA8-64 Xfce on Acer Aspire 5253
Updated using MCC - Update your system.
Refer to bug 31180 for testing:
$ php -S localhost:8000 -t php
[Thu Nov  2 17:11:32 2023] PHP 8.2.12 Development Server (http://localhost:8000) started
Then pointing firefox to http://localhost:8000/create-png.php and http://localhost:8000/sample.php displays correct image and text message.
Works OK and get feedback at the CLI:
[Thu Nov  2 17:12:01 2023] [::1]:36238 Accepted
[Thu Nov  2 17:12:01 2023] [::1]:36238 [200]: GET /create-png.php
[Thu Nov  2 17:12:01 2023] [::1]:36238 Closing
[Thu Nov  2 17:12:02 2023] [::1]:36250 Accepted
[Thu Nov  2 17:12:02 2023] [::1]:36250 [404]: GET /favicon.ico - No such file or directory
[Thu Nov  2 17:12:02 2023] [::1]:36250 Closing
[Thu Nov  2 17:12:53 2023] [::1]:60360 Accepted
[Thu Nov  2 17:12:53 2023] [::1]:60360 [200]: GET /create-png.php
[Thu Nov  2 17:12:53 2023] [::1]:60360 Closing
[Thu Nov  2 17:13:08 2023] [::1]:49906 Accepted
[Thu Nov  2 17:13:08 2023] [::1]:49906 [200]: GET /sample.php
[Thu Nov  2 17:13:08 2023] [::1]:49906 Closing
[Thu Nov  2 17:17:46 2023] [::1]:49628 Accepted
[Thu Nov  2 17:17:46 2023] [::1]:49628 [200]: GET /sample.php
[Thu Nov  2 17:17:46 2023] [::1]:49628 Closing

Make sure httpd and mysqld are running, then start phpmyadmin, login,  create a new database testphp8030 and create a new table with PK and unique key and timestamp and insert some values.
All works OK, good to go.

CC: (none) => herman.viaene

Comment 4 Herman Viaene 2023-11-02 17:27:57 CET
Created attachment 14122 [details]
test command for php to create a png
Comment 5 Herman Viaene 2023-11-02 17:28:51 CET
Created attachment 14123 [details]
php test to display text
Herman Viaene 2023-11-02 17:29:13 CET

Whiteboard: (none) => MGA9-64-OK

Comment 6 Thomas Andrews 2023-11-03 22:54:10 CET
Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 7 Mageia Robot 2023-11-05 22:17:26 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2023-0117.html

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


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