由于MacOS M1Max版本中系统的文件结构修改、openssl的c库位置不在linux的功能文件库中。
报错信息:Warning: file_get_contents(): you must configure with --enable-openssl to support ssl connection when compiling Swoole in
如果是通过homebrew安装的openssl那么文件夹的位置是/opt/homebrew/Cellar/
指定openssl-dir的位置: --with-openssl-dir=/opt/homebrew/Cellar/openssl@3/3.0.0_1
安装参数
./configure --enable-http2 --enable-thread-context --enable-http2 --enable-mysqlnd --enable-openssl --with-openssl-dir=/opt/homebrew/Cellar/openssl@3/3.0.0_1 --enable-sockets --enable-swoole-json --enable-swoole-curlpecl 方式安装
pecl install --configureoptions '--with-openssl-dir="/opt/homebrew/opt/openssl@3" enable-sockets="yes" enable-openssl="yes" enable-http2="yes" enable-mysqlnd="yes" enable-swoole-json="yes" enable-swoole-curl="yes" enable-cares="yes"' http://localhost/swoole-5.0.1.tgz
1 条评论
华纳圣淘沙公司开户新手教程
零基础学会(183-8890-9465薇-STS5099)
华纳圣淘沙公司开户
华纳圣淘沙公司开户保姆级教程(183-8890-9465薇-STS5099)
一步步教你开通华纳圣淘沙公司账户(183-8890-9465薇-STS5099)
华纳圣淘沙公司开户分步图解
首次开户必看:(183-8890-9465薇-STS5099)
华纳圣淘沙全攻略
华纳圣淘沙公司开户实操手册(183-8890-9465薇-STS5099)
华纳圣淘沙开户流程视频教程
手把手教学:(183-8890-9465薇-STS5099)
华纳圣淘沙公司开户
华纳圣淘沙公司开户完全指南(183-8890-9465薇-STS5099)