Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在我的 Mac 上安装 swoole 我试过这个 sudo pecl install swoole
sudo pecl install swoole
但是我收到了一个像这个致命错误这样的错误:'pcre.h' file not found first。
如何解决这个问题?提前致谢!
这对我有用
brew install swoole #!/bin/bash brew install homebrew/php/php71-swoole
也试试这个
pecl download swoole tar xvf swoole-1.7.9.tgz cd swoole-1.7.9 phpize ./configure make && make install
pcre-dev你首先需要安装
pcre-dev