PHP 8.1 is currently only receiving security fixes. PHP 8.1.0RC6 is not the latest version in the series, and using this release is not recommended. PHP 8.1.30 is the latest in the series.
Downloads
Source Code
git clone https://github.com/php/php-src.git --depth 1 --branch php-8.1.0RC6
./buildconf
), configuring the build ./configure
, and running make
.Detailed articles on how to compile PHP are available for Ubuntu/Debian based systems and Fedora/RHEL based systems.
Windows binaries
Docker/Podman Containers
docker pull php:8.1.0RC6-cli-alpine
docker pull php:8.1.0RC6-cli
docker pull php:8.1.0RC6-fpm-alpine
docker pull php:8.1.0RC6-apache
docker pull php:8.1.0RC6-fpm
Commit List
Ben Ramsey
- Change UBool to bool for equality operators in ICU >= 70.1 in 81b3f95622
- Accommodate changes to canonicalized forms in ICU >= 70.1 in 52cda6fc43
- CLDR 40a0 uses a lowercase "temp" instead of "Temp" in ICU >= 70.1 in c7a2441e93
- Prepare for PHP 8.1.0RC6 in f9758388f5
Christoph M. Becker
- Fix #71316: libpng warning from imagecreatefromstring in 1919c4b44d
Clément Chigot
- Fix bug #81507: Adjust XCOFF asm files for AIX assembler in cfe8a455a6
Damjan Cvetko
- Accept null and 0 for microseconds argument in
stream_select()
in a4ed17167c
Derick Rethans
- Prepare for 7.4.27 in 05b212bb3d
- Updated to version 2021.5 (2021e) in a93ff1df20
- Empty merge in 5715a5e570
- Updated to version 2021.5 (2021e) in 7c9c722b53
- Empty merge in b085f79cce
- Updated to version 2021.5 (2021e) in 4ec9d07cc3
- Empty merge in 4d4ec676c4
- Updated to version 2021.5 (2021e) in 456bfc7e9e
- Revert "Updated to version 2021.5 (2021e)" in 88f99c9c1d
- Fixed bug #81458: Regression: Incorrect difference after timezone change in 904933e918
Dmitry Stogov
- JIT: Fixed register allocation in case of integer overflow in cd32b47235
- JIT: Fixed numeric string index handling in f1e6a7d83d
- Fixed incorrect assumption about reference counting in 5c43e0c0ee
- Tracing JIT: Fixed reference counting when escape because of IS_UNDEF element in d7ac39b02d
- Tracing JIT: Fixed reference counting when escape because of IS_UNDEF element (test) in 2605911272
- Fixed type inference for FETCH_DIM_W without use in 66d93c63ff
- Tracing JIT: Fixed incorrect guard elimination in 34d22acc7e
- JIT: Fixed incorrect guard elimination in 7bf63243e1
- Don't call
_zend_hash_index_find()
for packed arrays in e868ded6ef - JIT: Fixed incorrect guard elimination in 8fe808207f
- Fixed incorrect reference counter inference in 535a0553e8
- Tracing JIT: Fixed missed type store in deoptimization code in eda9d7ac22
George Peter Banyard
- Fix Bug #81588 TokyoCabinet driver leaks memory in 96dd310c54
Kamil Tekiela
- mysqli_reap_async_query error reporting in GH-7629
Máté Kocsis
- Add more specific array return type hints for various extensions - part 1 in d02b9b953d
Nikita Popov
- Update libmysqlclient job to MySQL 8.0.27 in d49f550f6d
- Fix self-assign evaluation order for ASSIGN_DIM_OP in 55aadc647b
- Fix scdf loop var free check for phi vars in 64878757be
- Fix finally exception chaining on recursion in 1a2fb90bf4
- Fix range inference hang in f8ec5a1d4c
- Handle FETCH_DIM_R after FETCH_DIM_FUNC_ARG in inference in 2e29817005
- Fix WeakReference uniquing is TAG_HT is used in 546e55864d
- Update PHP-Parser version in gen_stub in dd0ec7a554
- Fixed bug #81587 in 4b9fbc6627
- Fixed bug #81582 in d3932682e7
- Suppress unused label warnings in SWITCH VM in ee37774466
- Fix typo in 462271c7e0
- Fix bug #81591: ignore_repeated_errors broken in 4c171ed5eb
- Remove unnecessary assertion in 7e67366a9b
- Don't implement Stringable on traits in d478ae73b1
- Implement Stringable automatically for internal classes in b302bfabe7
- Fix stubs for bzerr* functions in 9b2a3c1c4f
- Promote incorrect bzerr stream type to TypeError in c19c380323
- Partially address bug #78647 in a2fe8d48b1
- Fix bug #78647 in a38f4f9881
- Combine variance obligation processing and error reporting in b969ce3b98
- Drop pi nodes for both old/new pred in replace_predecessor in 53df29bc29
- Add string return type to __toString() of internal classes in a551b08307
- Fix bug #81441 in 425e70c11c
Patrick Allaert
- Configuring for 8.1.0RC6 in 5dc2c38faf
- Added NEWS entry for bug #81390 in 56a8b5f3c6
Sara Golemon
- Prep for 8.0.14 in 2d4bfcfd3b