PHP 8.1.28 Released!

简介

这是适用于特定平台的最佳 I/O 通知机制,使用基于事件的调度 I/O、时间和信号的扩展。这是 PHP 基础设施的 libevent 移植。

注意:

注意,在 event-1.9.0 中引入对 Windows 的支持。

版本 1.0.0 引入了新的面向对象 API(打破了向下兼容性),并支持包含 HTTP、DNS、OpenSSL 和事件监听器的 libevent 2+。

注意:

注意,event-1.0.0 及其以后的版本不兼容之前的版本。

add a note

User Contributed Notes 1 note

up
-12
AoK
9 years ago
PHP event service works at PHP 5.4+. Couldn't get event to work on a PHP 5.3.10 install.

To get event working (OS X as an example):
1. brew install libevent
2. sudo pecl install event

This is tricky because pecl yields both "event" and "libevent" packages. I was successful with "event" and not "libevent".
To Top