mac 安装php swoole扩展

1.不要照抄把MacOSX10.13.sdk换成你自己的macos版本

sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include /usr/include

2.sudo phpize

3../configure --with-php-config=/Applications/MxSrvs/bin/php/bin/php-config

4.make

5.make install

发布了5 篇原创文章 · 获赞 9 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/weixin_40210977/article/details/105715737
今日推荐