PHP 8.1 is currently only receiving security fixes. PHP 8.1.1 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.1
./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.1-cli-alpine
docker pull php:8.1.1-cli
docker pull php:8.1.1-fpm-alpine
docker pull php:8.1.1-apache
docker pull php:8.1.1-fpm
Commit List
Alex Dowad
- Enable encoding detection for Polish text in d573054ebe
- Add unit tests for
mb_detect_encoding
on Polish text in 1a2c608053
Christoph M. Becker
- "Export" relevant GD macros in 9237055141
- Fix #81649: imap_(un)delete accept sequences, not single numbers in 179030d167
- Update to PCRE2 10.39 in 6008a75f39
- Fix #81659:
stream_get_contents()
may unnecessarily overallocate in 31749aac62 - Fix #74604: Out of bounds in
php_pcre_replace_impl
in 712fc54e85
Derick Rethans
- Prepare for 7.4.28 in f533744c92
Dmitry Stogov
- Fixed bug #81634 (
ZEND_ENABLE_STATIC_TSRMLS_CACHE
produces extensionswith the STATIC_TLS flag) in 72f8dbb312 - Fixed incorrect DCE for ADD_ARRAY_ELEMENT instruction in f302430c72
- Fixed incorrect refcountion inference for BW_NOT in 3c53a9fd73
- Fixed incorrect narrowing to double in f9518c3850
- JIT: Fixed use-after-free caused by shift by negative number in 49f44e7ffc
- Fixed test (added 8.1 deprecation) in 442304485e
- Disable type narrowing optimization when we contruct SSA for JIT in 297117bbc5
- JIT: Fix named arguments handling in 8f4cfe04eb
- JIT: Fix named arguments handling in d955415114
- JIT: Fix exception handling when next array element is already occupied in aff115547f
- Fixed type inference (it's safe to ignore reference counting narrowing) in 86430e8e01
- Restore line, removed by mistake in b9141223 in 3c3626a903
- JIT: Fix uninitialized result of ASSIGN_DIM[_OP] after clobbering array by user error handler in 6e1fe96962
- JIT: Fix incorrect reference counting inference in c1036194d6
- Fix crash after indirect modification of string by user error handler in df434f056f
- JIT: Fix incorrect code produced for BOOL_NOT and [double, undef] operand in e7b31f57ec
- Fixed crash in
ZEND_ASSIGN_DIM_OP
because of array cloberring by user error handler in b594a95a2f - Fix SCDF cleanup of unused basic block, kept only because of FREE of a loop var in c3766c08f4
- Use proper functions in 9f6ab78610
- Fix clobering of operand by error handler in assignment to string offset in 09547c64c2
- Fix clobering of operand by error handler in assignment to string offset (optimization and JIT support) in 4595a57e99
- Fixed
ext/bz2/tests/005.phpt
test failure introduesed by 09547c64 in df16da3697 - Add missing zend_string_release_ex(tmp, 0) and cleanup in 37ac707cac
Jakub Zelenka
- Add skip for FPM process idle flaky test in 81513e6285
Nikita Popov
- Fix bug #81652 in be271f277e
- Disable enchant on azure i386 in c2d6d837ca
Patrick Allaert
- Preparing for 8.1.1 in ac96db6767
- Sorting and standardize NEWS entries in 22756f56b2
- Fixed misplaced PgSQL NEWS entry in 4e3192dd3c
- Removed placeholder from NEWS in c459625df0
- Placing core changes before anything else in 7f7f91536f
- Standardize: Fixed Bug -> Fixed bug in 75546bdef2
- Reordering non bug entries in 99d130acbc
- Preparing for 8.1.1 in e2a082c4a9
Remi Collet
- fix [-Wstrict-prototypes] buid warnings in ef2fd0e5b5
- fix gdImagePngCtxEx call with system libgd in e713890d36
- add missing cond in f6621037a0
- fix [-Wstrict-prototypes] build warnings in
ext/gd
in f566cba0bb - add missing conditions in 54f1f8cf2a
Sara Golemon
- Bump for 8.0.15 in 999c6f2c5d