ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# event <https://pecl.php.net/package/event> ``` <pre class="calibre14">``` wget https<span class="token2">:</span><span class="token">/</span><span class="token">/</span>pecl<span class="token2">.</span>php<span class="token2">.</span>net<span class="token">/</span>get<span class="token">/</span>event<span class="token">-</span><span class="token3">2.5</span><span class="token3">.3</span><span class="token2">.</span>tgz tar xf event<span class="token">-</span><span class="token3">2.5</span><span class="token3">.3</span><span class="token2">.</span>tgz cd event<span class="token">-</span><span class="token3">2.5</span><span class="token3">.3</span> <span class="token">/</span>www<span class="token">/</span>server<span class="token">/</span>php<span class="token">/</span><span class="token3">72</span><span class="token">/</span>bin<span class="token">/</span>phpize <span class="token2">.</span><span class="token">/</span>configure <span class="token">--</span>with<span class="token">-</span>php<span class="token">-</span>config<span class="token">=</span><span class="token">/</span>www<span class="token">/</span>server<span class="token">/</span>php<span class="token">/</span><span class="token3">72</span><span class="token">/</span>bin<span class="token">/</span>php<span class="token">-</span>config <span class="token">&&</span> make <span class="token">&&</span> make install 配置文件添加 <span class="token2">[</span>event<span class="token2">]</span> extension<span class="token">=</span><span class="token">/</span>www<span class="token">/</span>server<span class="token">/</span>php<span class="token">/</span><span class="token3">72</span><span class="token">/</span>lib<span class="token">/</span>php<span class="token">/</span>extensions<span class="token">/</span>no<span class="token">-</span>debug<span class="token">-</span>non<span class="token">-</span>zts<span class="token">-</span><span class="token3">20170718</span><span class="token">/</span>event<span class="token2">.</span>so ``` ``` - windows下安装 ``` <pre class="calibre16">``` <span class="token2">[</span>event<span class="token2">]</span> extension<span class="token">=</span>php_event<span class="token2">.</span>dll ``` ```