執行
brew install php55
的時候有這這一堆:
Warning: Backing up all known pear.conf and .pearrc filesWarning: If you have a pre-existing pear install outside of homebrew-php, or you are using a non-standard pear.conf location, installation may fail.
然後:
./configure --prefix=/usr/local/Cellar/php55/5.5.21 -- localstatedir=/usr/locachecking for krb5-config... /usr/bin/krb5-configchecking for DSA_get_default_method in -lssl... nochecking for X509_free in -lcrypto... yeschecking for pkg-config... noconfigure: error: Cannot find OpenSSL's READ THIS: http://git.io/brew-troubleshootingIf reporting this issue please do so at (not Homebrew/homebrew): https://github.com/josegonzalez/homebrew-php/issues
求助
php -vPHP 5.5.14 (cli) (built: Sep 9 2014 19:09:25)Copyright (c) 1997-2014 The PHP GroupZend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
顯示的是我之前安裝的版本和安裝時間。那麼另一個問題就來了,如何完全清理brew 安裝的php?
回複內容:
執行
brew install php55
的時候有這這一堆:
Warning: Backing up all known pear.conf and .pearrc filesWarning: If you have a pre-existing pear install outside of homebrew-php, or you are using a non-standard pear.conf location, installation may fail.
然後:
./configure --prefix=/usr/local/Cellar/php55/5.5.21 -- localstatedir=/usr/locachecking for krb5-config... /usr/bin/krb5-configchecking for DSA_get_default_method in -lssl... nochecking for X509_free in -lcrypto... yeschecking for pkg-config... noconfigure: error: Cannot find OpenSSL's READ THIS: http://git.io/brew-troubleshootingIf reporting this issue please do so at (not Homebrew/homebrew): https://github.com/josegonzalez/homebrew-php/issues
求助
php -vPHP 5.5.14 (cli) (built: Sep 9 2014 19:09:25)Copyright (c) 1997-2014 The PHP GroupZend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
顯示的是我之前安裝的版本和安裝時間。那麼另一個問題就來了,如何完全清理brew 安裝的php?
brew cleanup php