:: 首页  ::  :: 联系 :: 订阅 订阅  :: 管理

编译openssl.so

tar zxvf php-7.2.8.tar.gz
# 进入PHP的openssl扩展模块目录
cd php-7.2.8/ext/openssl/
brew install openssl

#注:此处生成的openssl/1.0.2q/以您电脑显示的为准


./configure --with-openssl=/usr/local/Cellar/openssl/1.0.2q/

./configure --with-openssl=/usr/local/Cellar/openssl/1.0.2q --with-php-config=/Applications/MAMP/bin/php/php7.2.8/bin/php-config
make && make install

posted on 2018-12-02 23:21  Qzzm!  阅读(852)  评论(0编辑  收藏  举报