remicollet / remirepo

Issue tracker for
https://rpms.remirepo.net/
277 stars 53 forks source link

PHP Version 8.1 #177

Closed remicollet closed 2 years ago

remicollet commented 3 years ago

Accodring to PHP roadmap version 8.1.0 GA is planed for end of year

Plan is

Start to test, fix and build extensions, especially after RC1 (final API)

Current state

Extensions (checked are available as RPM, not checked have been tested but not built, missing have not been tested yet) :

Feedback welcome, feel free to ask for extensions you need for your tests.

remicollet commented 3 years ago

Updated:

remicollet commented 3 years ago

Updated:

andypost commented 3 years ago

uploadprogress needs some love

remicollet commented 3 years ago

@andypost AFAIK current version is a bit broken, but the main issue is that extension is only for mod_php. Nowadays nobody still use mod_php, but use FPM instead. And PHP have upload progress tracking available for years.... without this extension...

remicollet commented 3 years ago

@andypost uploadprogress added to the repository

remicollet commented 3 years ago

Updated:

With new fixes / builds for

remicollet commented 3 years ago

Updated:

With new fixes / builds for

andypost commented 3 years ago

Xhprof also got update for 8.1beta

andypost commented 3 years ago

Links to yaf and yaml are broken

remicollet commented 3 years ago

@andypost copy/paste error fixed

remicollet commented 3 years ago

8.1.0RC1 is released

New stack for PHP 8.1 as single / default version (php-* packages)

Software Collections updated:

All extensions have been rebuild for new API version (20210902)

remicollet commented 3 years ago

Work of the day: fixed, built, and uploaded to the repository

remicollet commented 3 years ago

Work of the day: fixed, built, and uploaded to the repository

remicollet commented 3 years ago

8.1.0RC2 is released

Updates:

DavidAnderson684 commented 2 years ago

Apologies if this is addressed somewhere else (I searched). On two separate CentOS 7 machines, PHP 8.1.0RC3 from this repo, running the /usr/bin/php81 binary gives me this output:

PHP Warning:  PHP Startup: Unable to load dynamic library 'intl' (tried: /opt/remi/php81/root/usr/lib64/php/modules/intl (/opt/remi/php81/root/usr/lib64/php/modules/intl: cannot open shared object file: No such file or directory), /opt/remi/php81/root/usr/lib64/php/modules/intl.so (/opt/remi/php81/root/usr/lib64/php/modules/intl.so: undefined symbol: __cxa_throw_bad_array_new_length)) in Unknown on line 0
PHP 8.1.0RC3 (cli) (built: Sep 28 2021 21:40:07) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.1.0RC3, Copyright (c) Zend Technologies
    with Xdebug v3.1.0beta2, Copyright (c) 2002-2021, by Derick Rethans

(I got the same on RC2 as well).

remicollet commented 2 years ago

Can reproduce (specific to EL-7.... please use a modern distro for modern versions). Need to understand what happen again....

remicollet commented 2 years ago

@DavidAnderson684 fixed in new build (switching back from GCC 10 to GCC 8)

# php -v
PHP 8.1.0RC3 (cli) (built: Sep 28 2021 21:40:07) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.1.0RC3, Copyright (c) Zend Technologies

# php --ri intl

intl

Internationalization support => enabled
ICU version => 69.1
ICU Data version => 69.1
ICU Unicode version => 13.0

Directive => Local Value => Master Value
intl.default_locale => no value => no value
intl.error_level => 0 => 0
intl.use_exceptions => Off => Off

P.S. also take benefit of libicu updated from 65.1 to 69.1

remicollet commented 2 years ago

8.1.0RC3 is released

Updates:

remicollet commented 2 years ago

@DavidAnderson684 switch back to GCC 10 for stack consistency, using libicu69 everything seems OK (8.1.0~RC3-3 builds)

Please check / confirm

For memory: https://git.remirepo.net/cgit/rpms/scl-php81/php.git/commit/?id=aed289950cc86da735e6ec2a6cd73fa883774707 this change improve the check so such issue will be detected at buildtime.

DavidAnderson684 commented 2 years ago

Yes, that fixes it for me, thank you.

legoktm commented 2 years ago

@remicollet do you have a build/test failure log for excimer? I just released 1.0.1 on PECL which contains the patch you had submitted earlier this year in case that was the issue.

remicollet commented 2 years ago

@legoktm previous patch was for PHP 8.0, see https://github.com/wikimedia/php-excimer/pull/2 for PHP 8.1

remicollet commented 2 years ago

8.1.0RC4 is released

Updates:

remicollet commented 2 years ago

8.1.0RC5 is released (second to last RC)

Updates:

Additional change: qdbm backend added to dba extension, instead of gdbm one (License issue)

remicollet commented 2 years ago

Work of the day: fixed, built, and uploaded to the repository

remicollet commented 2 years ago

8.1.0 GA is released

Also announced on the blog and twitter