error: Cannot find OpenSSL's Mac


問題

mac安裝php需要openssl

./configure –with-openssl

報錯 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/phpize



./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-dir

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM