Homebrew-core: Install additional PHP-extensions

Created on 5 Apr 2018  路  4Comments  路  Source: Homebrew/homebrew-core

I cannot find any information about how to install additional PHP extensions, such as Phalcon or Imagick.

Since 1.5 this doesn't work anymore:

brew install php72-phalcon

Error: No available formula with the name "php72-phalcon" 
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
brew install php72-imagick

Error: No available formula with the name "php72-imagick" 
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

Websites report:
http://formulae.brew.sh/formula/php72-phalcon: _Formula was removed_
http://formulae.brew.sh/formula/php72-imagick: _Formula was removed_

What? Why?
How can I install extensions with homebrew?

All 4 comments

It's expected that going forward you'll have to use pecl to install those. The maintainers decided to move hombrew-php to homebrew-core and with that move, dropped the extension packages. It is either installed with the core package php or handled by pecl.

Has the apache DSO support been dropped? No longer generating a library.

@jpirkey So I have to compile them from source on every update?
Seems like to much work for me, I will be switching back to VirtualBox with a Linux OS then.

Seems like to much work for me, I will be switching back to VirtualBox with a Linux OS then.

@FaimMedia Feel free, what tools you use are no real concern of ours.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kiendang picture kiendang  路  3Comments

ghost picture ghost  路  3Comments

daviderestivo picture daviderestivo  路  4Comments

tejasmanohar picture tejasmanohar  路  3Comments

BluePawDev picture BluePawDev  路  3Comments