Hypertext Preprocessor is a general-purpose programming language!

PHP for Mac

PHP 8.1.25

  -  18.9 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.25.


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 GH-12207 (memory leak when class using trait with doc block)
- Fixed bug GH-12215 (Module entry being overwritten causes type errors in ext/dom)
- Fixed bug GH-12273 (__builtin_cpu_init check)
- Fixed bug #80092 (ZTS + preload = segfault on shutdown)

CLI:
- Ensure a single Date header is present

CType:
- Fixed bug GH-11997 (ctype_alnum 5 times slower in PHP 8.1 or greater)

DOM:
- Restore old namespace reconciliation behaviour
- Fixed bug GH-8996 (DOMNode serialization on PHP ^8.1)

Fileinfo:
- Fixed bug GH-11891 (fileinfo returns text/xml for some svg files)

Filter:
- Fix explicit FILTER_REQUIRE_SCALAR with FILTER_CALLBACK (ilutov)

Hash:
- Fixed bug GH-12186 (segfault copying/cloning a finalized HashContext)

Intl:
- Fixed bug GH-12243 (segfault on IntlDateFormatter::construct)
- Fixed bug GH-12282 (IntlDateFormatter::construct should throw an exception on an invalid locale)

MySQLnd:
- Fixed bug GH-12297 (PHP Startup: Invalid library (maybe not a PHP library) 'mysqlnd.so' in Unknown on line)

Opcache:
- Fixed opcache_invalidate() on deleted file
- Fixed bug GH-12380 (JIT+private array property access inside closure accesses private property in child class)

PCRE:
- Fixed bug GH-11956 (Backport upstream fix, PCRE regular expressions with JIT enabled gives different result)

SimpleXML:
- Fixed bug GH-12170 (Can't use xpath with comments in SimpleXML)
- Fixed bug GH-12223 (Entity reference produces infinite loop in var_dump/print_r)
- Fixed bug GH-12167 (Unable to get processing instruction contents in SimpleXML)
- Fixed bug GH-12169 (Unable to get comment contents in SimpleXML)

Streams:
- Fixed bug GH-12190 (binding ipv4 address with both address and port at 0)

XML:
- Fix return type of stub of xml_parse_into_struct()
- Fix memory leak when calling xml_parse_into_struct() twice

XSL:
- Fix type error on XSLTProcessor::transformToDoc return value with SimpleXML

Sockets:
- Fix socket_export_stream() with wrong protocol