2013-07-25 46 views
0

我有我的本地PHP服务器上获取mcrypt设置的一些问题。我最初尝试使用自制软件,但是当调用mcrypt函数时,它说它错误地说该函数不可用。问题与php mcrypt mac 10.8安装

我尝试了一下故障排除,但我认为我意外地将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

的./configure的下面的命令是做。

和,接下来是make install。

  1. 的./configure

  2. 使

  3. make install的