CentOS Stream release 8 PHPを8.1.0alpha2にUpdateさせました。
[root@centosst8 ~]# uname -r
4.18.0-310.el8.x86_64
[root@centosst8 ~]# php -v
PHP 8.1.0alpha2 (cli) (built: Jun 22 2021 16:56:30) (NTS gcc x86_64)
Copyright (c) The PHP Group
Zend Engine v4.1.0-dev, Copyright (c) Zend Technologies
with Zend OPcache v8.1.0alpha2, Copyright (c), by Zend Technologies
[root@centosst8 ~]# curl -V
curl 7.61.1 (x86_64-redhat-linux-gnu) libcurl/7.61.1 OpenSSL/1.1.1k zlib/1.2.11 brotli/1.0.6 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.2.0) libssh/0.9.4/openssl/zlib nghttp2/1.33.0
Release-Date: 2018-09-05
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz brotli TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL Metalink
[root@centosst8 ~]# smbd -V
Version 4.14.4
[root@centosst8 ~]# cat /etc/redhat-release
CentOS Stream release 8
[root@centosst8 ~]#