Hypertext Preprocessor is a general-purpose programming language!

PHP for Mac

PHP 8.1.2

  -  18.75 MB  -  Open Source

Sometimes latest versions of the software can cause issues when installed on older devices or devices running an older version of the operating system.

Software makers usually fix these issues but it can take them some time. What you can do in the meantime is to download and install an older version of PHP 8.1.2.


For those interested in downloading the most recent release of PHP for Mac or reading our review, simply click here.


All old versions distributed on our website are completely virus-free and available for download at no cost.


We would love to hear from you

If you have any questions or ideas that you want to share with us - head over to our Contact page and let us know. We value your feedback!

What's new in this version:

Core:
- Fixed bug #81216 (Nullsafe operator leaks dynamic property name)
- Fixed bug #81684 (Using null coalesce assignment with $GLOBALS["x"] produces opcode error)
- Fixed bug #81656 (GCC-11 silently ignores -R)
- Fixed bug #81683 (Misleading "access type ... must be public" error message on final or abstract interface methods)
- Fixed bug #81585 (cached_chunks are not counted to real_size on shutdown)
- Fixed bug #7757 (Multi-inherited final constant causes fatal error)
- Fixed zend_fibers.c build with ZEND_FIBER_UCONTEXT
- Added riscv64 support for fibers

Filter:
- Fixed FILTER_FLAG_NO_RES_RANGE flag

Hash:
- Fixed bug #7759 (Incorrect return types for hash() and hash_hmac())
- Fixed bug #7826 (Inconsistent argument name in hash_hmac_file and hash_file)

MBString:
- Fixed bug #81693 (mb_check_encoding(7bit) segfaults)

MySQLi:
- Fixed bug #81658 (MYSQL_OPT_LOAD_DATA_LOCAL_DIR not available in MariaDB)
- Introduced MYSQLI_IS_MARIADB
- Fixed bug #7746 (mysqli_sql_exception->getSqlState())

MySQLnd:
- Fixed bug where large bigints may be truncated

OCI8:
- Fixed bug #7765 (php_oci_cleanup_global_handles segfaults at second call)

OPcache:
- Fixed bug #81679 (Tracing JIT crashes on reattaching)

Readline:
- Fixed bug #81598 (Cannot input unicode characters in PHP 8 interactive shell)

Reflection:
- Fixed bug #81681 (ReflectionEnum throwing exceptions)

PDO_PGSQL:
- Fixed error message allocation of PDO PgSQL

Sockets:
- Avoid void* arithmetic in sockets/multicast.c on NetBSD
- Fixed ext/sockets build on Haiku

Spl:
- Fixed bug #75917 (SplFileObject::seek broken with CSV flags)
- Fixed bug #7809 (Cloning a faked SplFileInfo object may segfault)

Standard:
- Fixed bug #7748 (gethostbyaddr outputs binary string)
- Fixed bug #7815 (php_uname doesn't recognise latest Windows versions)