==> ./configure --prefix=/usr/local/Cellar/php55/5.5.19 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.5 --with-config-file-path=/usr/local/
checking for krb5-config... /usr/bin/krb5-config
checking for DSA_get_default_method in -lssl... no
checking for X509_free in -lcrypto... yes
checking for pkg-config... no
configure: error: Cannot find OpenSSL's
回複內容:
==> ./configure --prefix=/usr/local/Cellar/php55/5.5.19 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.5 --with-config-file-path=/usr/local/
checking for krb5-config... /usr/bin/krb5-config
checking for DSA_get_default_method in -lssl... no
checking for X509_free in -lcrypto... yes
checking for pkg-config... no
configure: error: Cannot find OpenSSL's
推薦 PHPBrew
sudo ln -s /Applications/Xcode6-Beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include /usr/include
via: https://github.com/Homebrew/homebrew-php/issues/1181
MAMP你值得擁有
mac 一般內建php的環境,是不是衝突了
xcode-select --install正確的結果應該是xcode-select: error: command line tools are already installed, use "Software Update" to install updates否則, 你就按提示安裝.安裝之後就可以了.