Bug 1992492

Summary: Compatibility with OpenSSL 3.0
Product: Red Hat Enterprise Linux 9 Reporter: Remi Collet <rcollet>
Component: phpAssignee: Remi Collet <rcollet>
Status: CLOSED ERRATA QA Contact: icesalov
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bnater, bstinson, icesalov, jorton, jwboyer
Target Milestone: betaKeywords: AutoVerified, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: php-8.0.12-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 13:04:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Remi Collet 2021-08-11 08:39:46 UTC
Current situation

PHP 8.0 is not compatible with OpenSSL 3.0

We have a minimal fix for the build (from upstream)

but
- various upstream tests fail (~15)
- segfault in various internal tests, ex:
  Regression/bz1073388-ext-openssl-default-md-algo-is-MD5
  Regression/bz1408301-openssl-extension-does-not-work-with


Upstream

PHP 8.1.0beta3 (planed for Aug 17th) should be compatible
at least build is OK and test suite passes.

There is no plan to backport needed changes in stable branches (PHP 8.0 or lower)

Lot of fixes are needed to switch to new API

- https://github.com/php/php-src/commits/master/ext/mysqlnd  (1 commit for now)
- https://github.com/php/php-src/commits/master/ext/openssl (~40 commits)

So we have to backport all this changes for 8.0

Comment 12 errata-xmlrpc 2022-05-17 13:04:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: php), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2447