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