Homebrew-core: mcrypt missing?

Created on 7 May 2018  路  9Comments  路  Source: Homebrew/homebrew-core

Since moving php7.1 to [email protected] I can't find mcrypt!

php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
exif
fileinfo
filter
ftp
gd
hash
iconv
json
ldap
libxml
mbstring
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
snmp
soap
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[Zend Modules]

outdated php

All 9 comments

You can use pecl to install mcrypt.

@SMillerDev Thanks - what is the command? I don't even have pecl installed

Installing extensions with PECL is well documented. PECL and PEAR are part of the php binaries after the move of php to homebrew core.

@SMillerDev It really isn't!

pecl

-bash: pecl: command not found

It is part of both my php installs (as it's compiled with it) so I'm not sure what's going wrong with your install.

smillerdev@local ~> find /usr/local/Cellar/php* -name pecl
/usr/local/Cellar/php/7.2.5/bin/pecl
/usr/local/Cellar/php/7.2.5/pecl
/usr/local/Cellar/[email protected]/5.6.36/bin/pecl
/usr/local/Cellar/[email protected]/5.6.36/pecl

Is the [email protected] install part of your path?

no but I've added it to the path now

find /usr/local/Cellar/php* -name pecl

/usr/local/Cellar/[email protected]/7.1.17/bin/pecl
/usr/local/Cellar/[email protected]/7.1.17/pecl

pecl install mcrypt

Failed to download pecl/mcrypt within preferred state "stable", latest release is version 1.0.1, stability "snapshot", use "channel://pecl.php.net/mcrypt-1.0.1" to install
install failed

Here's a post about installing mcrypt through pecl: https://forums.cpanel.net/threads/mcrypt-php-extension.617031/

Thanks but that is for centos. I wish documentation existed for this, before mcrypt package was removed in the first place.

Yes, and it works exactly the same way. There's more than enough documentation about this on the internet. It even says how to install it in the error message by the way.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tejasmanohar picture tejasmanohar  路  3Comments

oli-laban picture oli-laban  路  3Comments

Thirudhas picture Thirudhas  路  4Comments

bantl23 picture bantl23  路  3Comments

ghost picture ghost  路  3Comments