文字

使用软件包

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

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

  • MacPorts: » http://www.macports.org/
  • Liip: » http://php-osx.liip.ch/
  • Fink: » http://www.finkproject.org/
  • Homebrew: » https://github.com/Homebrew/homebrew-php

用户评论:

[#1] Marcin [2014-02-23 17:10:22]

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

[#2] raheelgup at gmail dot com [2014-02-16 07:02:15]

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

[#3] gordon [2012-03-21 10:29:42]

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/

上一篇: 下一篇: