我在本地 php 服务器上设置 mcrypt 时遇到了一些问题。我最初尝试使用自制软件,但是在调用 mcrypt 函数时,它说它错误地说该函数不可用。
我尝试了一些故障排除,但我想我不小心将mcrypt添加到了自制安装的php以外的地方,现在我似乎无法卸载它,现在我似乎无法再通过自制软件安装mcrypt了。我收到以下错误:
{php-5.3.27 tim$ brew install mcrypt
==> Downloading http://downloads.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/
Already downloaded: /Library/Caches/Homebrew/mcrypt-2.5.8.tar.gz
==> ./configure --prefix=/usr/local/Cellar/mcrypt/2.5.8 --mandir=/usr/local/Cell
==> make install
Warning: Could not link mcrypt. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link mcrypt'
Possible conflicting files are:
==> Summary
/usr/local/Cellar/mcrypt/2.5.8: 12 files, 348K, built in 26 seconds}
任何帮助都会很棒
谢谢