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.4

Core:
  • Fixed bug GH-21029 (zend_mm_heap corrupted on Aarch64, LTO builds).
  • Fixed bug GH-21059 (Segfault when preloading constant AST closure).
  • Fixed bug GH-21072 (Crash on (unset) cast in constant expression).
  • Fix deprecation now showing when accessing null key of an array with JIT.
  • Fixed bug GH-20657 (Assertion failure in zend_lazy_object_get_info triggered by setRawValueWithoutLazyInitialization() and newLazyGhost()).
  • Fixed bug GH-20504 (Assertion failure in zend_get_property_guard when accessing properties on Reflection LazyProxy via isset()).
  • Fixed OSS-Fuzz #478009707 (Borked assign-op/inc/dec on untyped hooked property backing value).
  • Fixed bug GH-21215 (Build fails with -std=).
  • Fixed bug GH-13674 (Build system installs libtool wrappers when using slibtool).
Curl:
  • Don't truncate length.
Date:
  • Fixed bug GH-20936 (DatePeriod::__set_state() cannot handle null start).
  • Fix timezone offset with seconds losing precision.
DOM:
  • Fixed bug GH-21077 (Accessing Dom\Node::baseURI can throw TypeError).
  • Fixed bug GH-21097 (Accessing Dom\Node properties can can throw TypeError).
LDAP:
  • Fixed bug GH-21262 (ldap_modify() too strict controls argument validation makes it impossible to unset attribute).
MBString:
  • Fixed bug GH-21223; mb_guess_encoding no longer crashes when passed huge list of candidate encodings (with 200,000+ entries).
Opcache:
  • Fixed bug GH-20718 ("Insufficient shared memory" when using JIT on Solaris).
  • Fixed bug GH-21227 (Borked SCCP of array containing partial object).
OpenSSL:
  • Fix a bunch of leaks and error propagation.
Windows:
  • Fixed compilation with clang (missing intrin.h include).
View older PHP versions

PHP for Mac

Free
In English
Version 8.5.4
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