运行OSX 10.10.1.我安装了自制软件,然后尝试运行以下命令:
原文链接:https://www.f2er.com/php/137543.htmlbrew install mcrypt
之后,它经历了一个下载/安装文件的漫长过程.然后它给了我一个错误:
checking for mhash_keygen in -lmhash... no configure: error: "You need at least libmhash 0.8.15 to compile this program. http://mhash.sf.net/"
在终端运行PHP -v:
PHP 5.6.2 (cli) (built: Nov 2 2014 09:34:41) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.6.0,Copyright (c) 1998-2014 Zend Technologies with Zend OPcache v7.0.4-dev,Copyright (c) 1999-2014,by Zend Technologies with Xdebug v2.2.5,Copyright (c) 2002-2014,by Derick Rethans
任何帮助表示赞赏. OSX约塞米蒂的一切似乎都在破碎……