Merge pull request #532 from ralf57/gh-pages

Add Liip's popular installation method for OS X
This commit is contained in:
Phil Sturgeon
2015-05-31 07:21:23 -05:00

View File

@@ -43,6 +43,10 @@ And you can run `select` command to switch your active php:
[phpbrew] is a tool for installing and managing multiple PHP versions. This can be really useful if two different
applications/projects require different versions of PHP, and you are not using virtual machines.
### Install PHP via Liip's binary installer
Another popular option is [php-osx.liip.ch] which provides one liner installation methods for versions 5.3 through 5.6.
It doesn't overwrite the php binaries installed by Apple, but installs everything in a separate location (/usr/local/php5).
### Compile from Source
Another option that gives you control over the version of PHP you install, is to [compile it yourself][mac-compile].
@@ -60,6 +64,7 @@ you and tie them all together, but ease of setup comes with a trade-off of flexi
[Homebrew PHP]: https://github.com/Homebrew/homebrew-php#installation
[MacPorts]: https://www.macports.org/install.php
[phpbrew]: https://github.com/phpbrew/phpbrew
[php-osx.liip.ch]: http://php-osx.liip.ch/
[mac-compile]: http://php.net/install.macosx.compile
[xcode-gcc-substitution]: https://github.com/kennethreitz/osx-gcc-installer
["Command Line Tools for XCode"]: https://developer.apple.com/downloads