brew install (or upgrade, reinstall) a single, official formula (not cask)? If it's a general brew problem please file this issue at Homebrew/brew: https://github.com/Homebrew/brew/issues/new. If it's a brew cask problem please file this issue at https://github.com/caskroom/homebrew-cask/issues/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.**
When I did a brew upgrade this morning it broke my installed PHP configuration.
I need to install php 7.0 with Imap and Imagick support.
How can I install these additional libraries with the new Homebrew PHP formulas?
same here. apparently all the extra extensions i need are gone. :(
imagick can/should be installed via pecl install imagick (/usr/local/opt/[email protected]/bin/pecl install imagick for 7.0). Make sure you have the imagemagick dependency installed first from homebrew.
imap has a stability problem and was removed from Homebrew/core at #25579. If you understand the and accept the risk, you can install it from my tap.
But what about the other? php-redis, php-ampq? Can be install via pecl?
Yes, but really these are questions to ask outside of the Homebrew/core issue tracker. Please also review and familiarize yourself with the pecl site.
You can't just deprecate homebrew-php and not migrate all or at least most php extensions. No one uses pecl or pear anymore these days. Most php extensions are installed via a package manager such as apt.
@sschueller most extensions were indeed migrated and are now included statically (see the output php -m). Some that weren't can be found in https://github.com/kabel/homebrew-php-ext
Also, please watch your tone.
@ilovezfs ok, thanks
For anyone who had problems.
brew install [email protected]brew link --force [email protected]pecl channel-update pecl.php.netbrew reinstall imagemagick brew reinstall autoconf.pecl install imagick. extension=imagick.socd /usr/local/Cellar/[email protected]/7.1.16/lib/php/20160303 ln -s ../../../pecl/20160303/imagick.soThis php-core decision break so many development environments and was far away from any real life work... and you call others for watch your tone? Sorry, but this is currently time and cost intensiv to rebuild our environments. Are you paying the bills?
@2case are you paying ours?
@SMillerDev are you telling me there is no support from Apple at all for homebrew? Do you have any funding?
A tool which is vital to so many developers and probably used by tons of Apple employees needs to be properly funded.
Let's all remain civil as we work through the pains of shifting priorities, standards, and community policies. Don't forget https://mikemcquaid.com/2018/03/19/open-source-maintainers-owe-you-nothing/
@sschueller I wish. There was an interesting discussion about that at the Free and Open source Software Developers' European Meeting this year. (https://youtu.be/RYsHV-SW0Vw?t=1530)
EDIT: Link actually starts at the funding question now.
This php-core decision break so many development environments and was far away from any real life work... and you call others for watch your tone? Sorry, but this is currently time and cost intensiv to rebuild our environments. Are you paying the bills?
@2case Many volunteers (particularly @kabel @javian @ilovezfs @SMillerDev) have spent their evenings and weekends working on this software that you get to use for free. If that makes it slightly harder for you to earn money with Homebrew because you did not plan for the pre-announced date: that is completely and utterly your problem to deal with.
@sschueller you shouldn't need to perform the last two steps in your guide since pecl should automatically add the line to php.ini and you shouldn't need to create a symlink manually. If this doesn't work by default see https://github.com/Homebrew/homebrew-core/issues/26108#issuecomment-378223868
Most helpful comment
This php-core decision break so many development environments and was far away from any real life work... and you call others for watch your tone? Sorry, but this is currently time and cost intensiv to rebuild our environments. Are you paying the bills?