error: Cannot find OpenSSL's Mac

問題

mac安裝php須要opensslphp

./configure –with-opensslruby

報錯 error: Cannot find OpenSSL’s字體

解決

brew install openssl
./configure  --with-openssl=/usr/local/Cellar/openssl/1.0.2l/




==

php52與56共存的。使用下面的
cd /ext/openssl

/usr/local/Cellar/php52bysk/bin/phpizespa



./configure --with-php-config=/usr/local/Cellar/php52bysk/bin/php-config  --with-openssl=/usr/local/Cellar/openssl/1.0.2l/
make
make install




讓gd庫支持freetype.不然拼圖生成字體沒法用

./configure --with-php-config=/usr/local/Cellar/php52bysk/bin/php-config --with-freetype-dircode

相關文章
相關標籤/搜索