使用软件包

Mac OS X 下有几个预编译和打包的 PHP 版本。可以通过它使用标准的配置的 PHP,但是若需要不同的功能集(比如一个安全服务器,或者一个不同的数据库驱动程序),可能需要自己编译 PHP 和/或 web 服务器。如果不熟悉如何自己编译软件,可以试着找一下包含自己所需功能的 PHP 预编译版本。

下面的资源提供了在 Mac OS 上易于安装的软件包和预编译的二进制 PHP。

add a note

User Contributed Notes 3 notes

up
-3
raheelgup at gmail dot com
2 years ago
If you want the latest version of PHP on your MAC with Apache and MySQL as a stack you should check the AMPPS Stack :
http://ampps.com

I read about it here :
http://chriswiegman.com/2013/05/bye-bye-mamp-pro-hello-ampps/AC
up
-6
gordon
4 years ago
The Entropy package is no longer maintained. 

Liip supply PHP 5.3 and 5.4 packages that are easy to install.

http://php-osx.liip.ch/
up
-9
Marcin
2 years ago
Liip now supports PHP 5.5 too - http://php-osx.liip.ch/ - all very easy to install - just 1 command line.