Bug 1653109

Summary: [RFE] Add a 7.3 stream to the PHP module
Product: Red Hat Enterprise Linux 8 Reporter: Robert Scheck <redhat-bugzilla>
Component: phpAssignee: Remi Collet <rcollet>
Status: CLOSED ERRATA QA Contact: Jakub Heger <jheger>
Severity: medium Docs Contact: Lenka Špačková <lkuprova>
Priority: unspecified    
Version: 8.0CC: aogburn, bnater, carl, hpham, jheger, jorton, kwalker, lmanasko, ngompa13, nicolas, pasik, rcollet, robert.scheck, vslavik
Target Milestone: rc   
Target Release: 8.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
.A new module stream: `php:7.3` RHEL 8.1 introduces `PHP 7.3`, which provides a number of new features and enhancements. Notable changes include: * Enhanced and more flexible `heredoc` and `nowdoc` syntaxes * The PCRE extension upgraded to PCRE2 * Improved multibyte string handling * Support for LDAP controls * Improved FastCGI Process Manager (FPM) logging * Several deprecations and backward incompatible changes For more information, see link:https://www.php.net/manual/en/migration73.php[Migrating from PHP 7.2.x to PHP 7.3.x]. Note that the RHEL 8 version of `PHP 7.3` does not support the `Argon2` password hashing algorithm. To install the `php:7.3` stream, use: [literal] ---- # yum module install php:7.3 ---- If you want to upgrade from the `php:7.2` stream, see link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/installing_managing_and_removing_user-space_components/index#switching-to-a-later-stream_managing-versions-of-appstream-content[Switching to a later stream].
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 20:56:39 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1690521    
Bug Blocks: 1623566, 1679810, 1701002, 1726430    

Description Robert Scheck 2018-11-25 21:57:07 UTC
Description of problem:
PHP 7.3 is likely to be released within the next month. Thus I hereby
request to rebase PHP in RHEL 8 to PHP 7.3 to not ship an already old
version with RHEL 8 final release like it happened with RHEL 7. Given
that PHP 7.1 is going to be EOL about half a year after RHEL 8 final
release, this is a further argument IMHO for a rebase.

Version-Release number of selected component (if applicable):
php-7.1.20-2.el8+1700+11d526eb.x86_64
php-7.2.11-1.el8+2002+9409c40c.x86_64

Actual results:
PHP 7.2/7.1

Expected results:
PHP 7.3/7.2

Comment 1 Robert Scheck 2018-11-25 21:59:18 UTC
Cross-filed case 02260327 at the Red Hat customer portal.

Comment 4 Kyle Walker 2019-02-20 15:21:16 UTC
Thank you for the request. After discussing this request with the applicable teams, the ongoing plan is to continue with the existing 7.1 and 7.2 module stream. With that being the case, I am renaming this request from the initial rebase request to a reflect that the current intention is to include the PHP 7.3 release as an additional module stream in future.

- Kyle Walker

Comment 5 Branislav Náter 2019-02-20 15:37:17 UTC
Just a small correction, only php 7.2 will be shipped on 8.0 GA (no php 7.1).

Comment 6 Kyle Walker 2019-02-20 15:45:52 UTC
Ah yep! Sorry for the miscommunication Branislav.

- Kyle Walker

Comment 22 Robert Scheck 2019-07-19 11:37:15 UTC
Why will the RHEL 8 version of PHP 7.3 not support the Argon2 password hashing algorithm?

Comment 23 Remi Collet 2019-07-19 11:57:08 UTC
> Why will the RHEL 8 version of PHP 7.3 not support the Argon2 password hashing algorithm?

As PHP 7.2, because libargon2 is not available in RHEL-8

Notice in PHP < 7.2.21, and < 7.3.8, argon2 password are weak, so better to not use them.

Comment 24 Remi Collet 2019-07-19 12:24:18 UTC
I think that proper way to update from 7.2 to 7.3 is:

# dnf module disable php
# dnf module enable  php:7.3
# dnf update

Comment 25 Remi Collet 2019-07-19 12:31:56 UTC
And for memory, downgrade from 7.3 to 7.2 is:

# dnf module disable php
# dnf module enable  php:7.2
# dnf distro-sync

Comment 26 Vladimír Slávik 2019-07-19 13:29:51 UTC
Disable does nothing regarding packages, so that's half a solution really. The official documentation based on DNF team recommendations says you need to remove the packages too:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/installing_managing_and_removing_user_space_components/index#switching-module-streams-to-install-a-different-version-of-content_managing-versions-of-appstream-content

Comment 34 errata-xmlrpc 2019-11-05 20:56:39 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, 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/RHEA-2019:3375