php mcrypt mac 10.8安装问题

时间:2013-07-25 19:31:59

标签: php macos mcrypt

我在本地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}

任何帮助都会很棒

感谢

1 个答案:

答案 0 :(得分:-1)

./configure的以下命令是make。

,接下来是make install。

  1. ./配置

  2. make install