首页 > 系统服务 > 详细

error: Cannot find OpenSSL's <evp.h> Mac

时间:2018-07-07 13:06:24      阅读:392      评论:0      收藏:0      [点我收藏+]

问题

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共存的。使用下面的

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

error: Cannot find OpenSSL's <evp.h> Mac

原文:https://www.cnblogs.com/showker/p/9276856.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!