2013-07-25 74 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的