Homebrew seems to be a really powerful package manager for osx, and the amount of available formulas is really convenient, but I can't understand something : Why isn't there any PHP formula for homebrew ?
I mean, there are "custom formulas" to add to homebrew, but no official one. The weird part is there are a lot of PHP extension available in hombrew, out of the box, such as apc, imagick, xdebug, ffmpeg-php but no PHP. I can't understand. Could someone explain ? Is there a reason ? A licence issue, maybe ?
I suspect a very real reason (as per my comment) is that Mac OS X has PHP pre-installed (fire up a terminal and type "php --version
") and hence there's no need to provide the base PHP package.
Additionally, according to the Homebrew github page:
Remember! We don’t accept formula into mxcl/master that dupes stuff already included with OS X.
This is explained in additional detail on the Formula Cookbook page.
See also: https://github.com/josegonzalez/homebrew-php
This repository contains PHP-related formulae for Homebrew.
(This replaces the PHP formulae that used to live under adamv's homebrew-alt repository.)
The purpose of this repository is to allow PHP developers to quickly retrieve working, up-to-date formulae. The mainline Homebrew repositories are maintained by non-php developers, so testing/maintaining PHP-related brews has fallen by the wayside...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With