Homebrew: Install php mcrypt

Michael

I have, possibly like 1000k+ others, problems with homebrew after their move to a different structure.

I have installed homebrew and after that php with: $ brew install php Here I got php 7.2 version. In this version I'm missing some modules, like xdebug, mcrypt and some others. Question: how can I get them installed via homebrew?????????????????

There is no right documentation for that. Not at homebrew php-package site, not anywhere.

I need this all for my project and there is no time for switching back to native packages.

Thanks guys for your support!!!

caspertm

It appears that as of 31rst March 2018, the homebrew-php is deprecated and all php libraries will be part of homebrew/core.

This also means that:

Forgive my stupid question, I'm not sure I understand: there won't be a php71-mcrypt, but there may be a php-mcrypt, as long as it accepts any installed php package?

There won't be either but we'd accept the php or [email protected] formula installing mcrypt by default.

In the announcement, you also mentioned the CI workload as a reason for deprecating the tap. Until the tap is officially archived, would it make sense to limit formula updates to supported PHP versions (at this time, 5.6, 7.0, 7.1 and 7.2) in order to reduce CI workload and bottle builds?

I don't want to dictate how this tap is run pre-deprecation. That might not be a bad idea but given the tap is going away in a few months I think it's fine as-is until then.

In other words, mcrypt is now installed by default. See Zaph's comment on the other answer for a more detailed explanation.

I'm not sure about xdebug, but you might want to check there.

https://github.com/Homebrew/homebrew-php/issues/4721

p.s. You can check which modules are installed with php -m

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related