Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Version 8.1 #177

Closed
remicollet opened this issue Jun 8, 2021 · 26 comments
Closed

PHP Version 8.1 #177

remicollet opened this issue Jun 8, 2021 · 26 comments

Comments

@remicollet
Copy link
Owner

remicollet commented Jun 8, 2021

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

Plan is

  • provides SCL only for alpha/beta
  • provides both SCL and base packages for RC

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

Current state

  • php81-php-8.1.0~alpha1-1

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

  • amqp 1.11.0beta
  • apcu 5.1.21
  • apfd 1.0.2 using patch from PR #4
  • ast 1.0.12
  • base58 1.0.2
  • bitset 3.0.1
  • brotli 0.13.1
  • couchbase 3.2.0 was fixed by PR #33
  • crypto 0.3.2
  • csv 0.4.1
  • datadog_trace 0.66.0, partially fixed by PR #1274
  • dbase 7.1.0
  • decimal 1.4.0 (some tests need to be fixed)
  • dio 0.2.0
  • ds 1.3.0, using upstream patches and PR #187
  • eio 3.0.0RC2 (some tests need to be fixed)
  • env not compatible but seems dead ?
  • ev 1.1.3 with patch send upstream by email
  • event 3.0.5 (previous with patch, send upstream by email)
  • excimer 1.0.2 was fixed by PR #2
  • fann 1.2.0RC1 using patches from PR #2 and PR #43
  • gearman 2.1.0 using upstream patch
  • geoip 1.1.1 using upstream patch
  • geos 1.0.0 with lot of patches since 7.0
  • geospatial 0.3.1
  • gmagick 2.0.6RC1 using patch from PR #54
  • gnupg 1.5.0 using patch from PR #35
  • handlebars not ready
  • hdr_histogram 0.4.2 with previous patch for 8.0
  • http 4.1.0 using various upstream patches and PR #118
  • http_message 0.2.2 with previous patch for 8.0
  • horde_lz4 1.0.10 with patches
  • ice not ready
  • igbinary 3.2.3
  • imagick 3.5.1 was fixed by PR #413 and PR #450
  • inotify 3.0.0
  • ip2location 8.1.1
  • ip2proxy 3.0.1
  • json_post 1.0.2
  • jsonpath 0.9.3
  • krb5 1.1.4
  • leveldb 0.3.0
  • libvirt 0.5.5 with patches since 8.0
  • luasandbox 4.0.2
  • lz4 0.4.3
  • lzf 1.6.8
  • mailparse 3.1.1 using upstream patch
  • maxminddb 1.10.1
  • mcrypt 1.0.4 using upstream patch
  • memcache 8.0 using patch from PR #88
  • memcached 3.1.5 using lot of patches and PR #486 + PR #487
  • memprof 3.0.1 using patch from PR #54
  • mongodb 1.11.0alpha1 was fixed upstream and by PR #1240
  • msgpack 2.1.2 using patch from PR #156 and PR #157
  • mustache 0.9.2
  • mysql 1.0.0-dev
  • mysql_xdevapi no ready
  • mysqlnd_azure not ready
  • oauth 2.0.7
  • opencensus 0.3.0 (fix needed for test suite)
  • orng not ready
  • pam 2.2.3
  • parle 0.8.2 using patch from PR #28
  • pcov 1.0.9
  • pcsc 0.5.1
  • pdlib not yet ready
  • phalcon not yet ready
  • phpiredis 1.0.2
  • pkcs11 1.0 using patch from PR #59
  • pq 2.1.8 using patch from PR #40 and PR #41
  • protobuf 3.18.0, was fixed by from PR #8710
  • psr 1.1.0
  • raphf 2.0.1
  • rar 4.2.0 with upstream patches
  • realpath_turbo 2.0.0
  • redis 5.3.4
  • rdkafka 5.0.1 was fixed by PR #467
  • rpminfo 0.5.1
  • rrd 2.0.3
  • runkit7 4.0.0a3
  • seaslog 2.2.0
  • scoutapm not ready
  • scrypt 1.4.2 with previous patches
  • sdl 2.5.0
  • selinux 0.5.0
  • simple_kafka_client 0.1.4 was fixed by PR #54
  • skywalking not ready
  • smbclient 1.0.6
  • snuffleupagus not ready
  • solr no ready
  • ssdeep 1.1.0 with patch for 8+
  • ssh2 1.3.1
  • stats 2.0.3 with previous patches
  • stomp 2.0.2 using patch from PR #14
  • swoole 4.7.0 using patch from PR #4335
  • sync 1.1.2 (fix needed for test suite)
  • trader 0.5.1
  • translit 0.7.1
  • uploadprogress 1.1.4
  • uopz 7.0.0
  • uuid 1.2.0
  • varnish 1.2.6
  • vips 1.0.12
  • vld not ready
  • wddx 1.0.0-dev
  • xattr 1.4.0
  • xdebug 3.1.0beta1
  • xdiff 2.1.0
  • xhprof 2.3.4, was fixed by PR #61
  • xlswriter 1.4.0
  • xmldiff 1.1.3
  • xmlrpc 1.0.0RC2 with upstream patch
  • xxtea 1.0.1 with previous patches
  • yac 2.3.0 using patch from PR #120
  • yaf 3.3.3 using patch fromPR #548
  • yaml 2.2.2 was fixed by PR #60
  • zip 1.19.3
  • zmq 1.1.3 using patches from PR #216 and PR #222
  • zstd 0.10.0

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

@remicollet
Copy link
Owner Author

Updated:

  • php81-php-8.1.0~alpha2-1

@remicollet
Copy link
Owner Author

Updated:

  • php81-php-8.1.0~alpha3-1

@andypost
Copy link

uploadprogress needs some love

@remicollet
Copy link
Owner Author

remicollet commented Jul 22, 2021

@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
Copy link
Owner Author

@andypost uploadprogress added to the repository

@remicollet
Copy link
Owner Author

remicollet commented Jul 22, 2021

Updated:

  • php81-php-8.1.0~beta1-1

With new fixes / builds for

  • apcu
  • couchbase
  • imagick
  • memcached
  • mongodb
  • swoole
  • xmlrpc
  • yaml
  • yaf

@remicollet
Copy link
Owner Author

Updated:

  • php81-php-8.1.0~beta2-1

With new fixes / builds for

  • http
  • pq
  • simple_kafka_client
  • var_representation
  • yac
  • yaml

@andypost
Copy link

andypost commented Aug 6, 2021

Xhprof also got update for 8.1beta

@andypost
Copy link

Links to yaf and yaml are broken

@remicollet
Copy link
Owner Author

@andypost copy/paste error fixed

@remicollet
Copy link
Owner Author

8.1.0RC1 is released

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

  • php-8.1.0~RC1-1

Software Collections updated:

  • php81-php-8.1.0~rc1-2

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

@remicollet
Copy link
Owner Author

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

@remicollet
Copy link
Owner Author

remicollet commented Sep 10, 2021

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

@remicollet
Copy link
Owner Author

8.1.0RC2 is released

Updates:

  • php-8.1.0~RC2-1
  • php81-php-8.1.0~rc2-1

@DavidAnderson684
Copy link

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
Copy link
Owner Author

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

@remicollet
Copy link
Owner Author

remicollet commented Sep 30, 2021

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

  • php81-php-8.1.0~rc3-2
  • php-8.1.0~RC3-2
# 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
Copy link
Owner Author

8.1.0RC3 is released

Updates:

  • php-8.1.0~RC3-1
  • php81-php-8.1.0~rc3-1

@remicollet
Copy link
Owner Author

remicollet commented Oct 1, 2021

@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
Copy link

Yes, that fixes it for me, thank you.

@legoktm
Copy link

legoktm commented Oct 5, 2021

@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
Copy link
Owner Author

@legoktm previous patch was for PHP 8.0, see wikimedia/mediawiki-php-excimer#2 for PHP 8.1

@remicollet
Copy link
Owner Author

8.1.0RC4 is released

Updates:

  • php-8.1.0~RC4-1
  • php81-php-8.1.0~rc4-1

@remicollet
Copy link
Owner Author

8.1.0RC5 is released (second to last RC)

Updates:

  • php-8.1.0~RC5-1
  • php81-php-8.1.0~rc5-1

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

@remicollet
Copy link
Owner Author

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

@remicollet
Copy link
Owner Author

8.1.0 GA is released

Also announced on the blog and twitter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants