We stand with Ukraine to help keep people safe. Join us
When you purchase through links on our site, we may earn an affiliate commission

PHP for Mac

Server-side, cross-platform, HTML embedded scripting language.

Free
In English
5.0
Based on 7 user rates

PHP overview

This is a PHP module for the Apache Web server included in OS X. PHP is a server-side, cross-platform scripting language. PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

What's new in version 8.5.5

Core
  • Fixed bug GH-20672 (Incorrect property_info sizing for locally shadowed trait properties).
  • Fixed bugs GH-20875, GH-20873, GH-20854 (Propagate IN_GET guard in get_property_ptr_ptr for lazy proxies).
Bz2
  • Fix truncation of total output size causing erroneous errors.
DOM
  • Fixed bug GH-21486 (Dom\HTMLDocument parser mangles xml:space and xml:lang attributes).
FFI
  • Fixed resource leak in FFI::cdef() on symbol resolution failure.
GD
  • Fixed bug GH-21431 (phpinfo() to display libJPEG 10.0 support).
Opcache
  • Fixed bug GH-21052 (Preloaded constant erroneously propagated to file-cached script).
  • Fixed bug GH-20838 (JIT compiler produces wrong arithmetic results).
  • Fixed bug GH-21267 (JIT tracing: infinite loop on FETCH_OBJ_R with IS_UNDEF property in polymorphic context).
  • Fixed bug GH-21395 (UAF in jit).
OpenSSL
  • Fixed bug GH-21083 (Skip private_key_bits validation for EC/curve-based keys).
  • Fix missing error propagation for BIO_printf() calls.
PCNTL
  • Fixed signal handler installation on AIX by bumping the storage size of the num_signals global.
PCRE
  • Fixed re-entrancy issue on php_pcre_match_impl, php_pcre_replace_impl, php_pcre_split_impl, and php_pcre_grep_impl.
Phar
  • Fixed bug GH-21333 (use after free when unlinking entries during iteration of a compressed phar).
SNMP
  • Fixed bug GH-21336 (SNMP::setSecurity() undefined behavior with NULL arguments).
SOAP
  • Fixed Set-Cookie parsing bug wrong offset while scanning attributes.
SPL
  • Fixed bug GH-21454 (missing write lock validation in SplHeap).
Standard
  • Fixed bug GH-20906 (Assertion failure when messing up output buffers).
  • Fixed bug GH-20627 (Cannot identify some avif images with getimagesize).
Sysvshm
  • Fix memory leak in shm_get_var() when variable is corrupted.
XSL
  • Fix GH-21357 (XSLTProcessor works with DOMDocument, but fails with Dom\XMLDocument).
  • Fixed bug GH-21496 (UAF in dom_objects_free_storage).
View older PHP versions

PHP for Mac

Free
In English
Version 8.5.5
Write a detailed review about PHP

Write your thoughts in our old-fashioned comment

MacUpdate Comment Policy. We strongly recommend leaving comments, however comments with abusive words, bullying, personal attacks of any type will be moderated.
5.0

(23 Reviews of PHP)

  • Comments

  • User Ratings

Just-Fred
Just-Fred
Apr 19 2023
8.2.5
0.0
Apr 19 2023
0.0
Version: 8.2.5
Once again, the description given by MacUpdate is 100% wrong. This is a source code bundle and not a binary package. In order to use it, one must have Xcode installed and be able to compile it. Having found a need to use PHP to create a database-backed web site, I chose to use MacPorts (Homebrew is usually recommended, but I don't intend to install many "sidecar" Mac apps, and MacPorts seems less intrusive. On a plus note, PHP now includes its own built-in development web server, so configuring and running Apache (now called apache2 on Macs) isn't needed. A simple command: php -S <server>:<port> <optional: -t webhomedirectory> is all that's needed.
Parchment Press
Parchment Press
Dec 4 2013
5.5.6
0.0
Dec 4 2013
0.0
Version: 5.5.6
Why o why does MacUpdate track Unix software in the main Mac software channel? Just a suggestion, but i would prefer it if you had a separate tab/category for server software, daemons, CLI utilities and the like. That way, the 90% who don't use it won't have to contend with the added entries on the tracker. (I do personally use a lot of server-oriented software and CLI tools, so i would personally check that category for updates. But my preference would be to separate them out to another category listing.)
Neil-M
Neil-M
Jun 1 2011
5.3.0-3
0.0
Jun 1 2011
0.0
Version: 5.3.0-3
From the developers website; Note: The package on this page is outdated. I recommend this new PHP distribution for Mac OS X, it is based on mine: http://blog.liip.ch/archive/2011/04/13/php-5-3-for-os-x-10-6-one-line-installer.html http://php-osx.liip.ch/ - is the best source for a 10.6 version of php.
schmelding
schmelding
Sep 4 2009
5.3.0-3
0.0
Sep 4 2009
0.0
Version: 5.3.0-3
Since Snow Leopard wiped-out my install of the entropy version of PHP, does anybody know what would happen if I reinstalled this?
Neil-M
Neil-M
Jul 31 2009
5.3.0-3
0.0
Jul 31 2009
0.0
Version: 5.3.0-3
Now PHP 5.3.0-3 Thanks Marc for compiling this for OS X - it gets me an easy way to get an upto date php distro, with GD (not on Apple's vanilla inbuilt), etc. onto my server - without waiting, waiting for Apple to update.
Sandro-Bilbeisi
Sandro-Bilbeisi
Nov 15 2014
5.0
Nov 15 2014
5.0
Version: null
BlakeC6588
BlakeC6588
Oct 15 2013
5.0
Oct 15 2013
5.0
Version: null
Sparrowhawk
Sparrowhawk
Sep 17 2013
5.0
Sep 17 2013
5.0
Version: null
olamaekle
olamaekle
Aug 6 2013
5.0
Aug 6 2013
5.0
Version: null
Zetsurin
Zetsurin
Dec 20 2006
5.0
Dec 20 2006
5.0
Version: null
Guest
Guest
Sep 28 2004
4.8
Sep 28 2004
4.8
Version: null
Guest
Guest
May 19 2003
5.0
May 19 2003
5.0
Version: null