https://pecl.php.net/package/event

wget https://pecl.php.net/get/event-2.5.3.tgz
tar xf event-2.5.3.tgz
cd event-2.5.3
/www/server/php/72/bin/phpize
./configure --with-php-config=/www/server/php/72/bin/php-config  && make && make install
配置文件添加
[event]
extension=/www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/event.so 
  • windows下安装
[event]
extension=php_event.dll
文档更新时间: 2020-07-23 20:04   作者:Yoby