|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65847 Issue with old libevent2
Submitted: 2013-10-06 16:50 UTC Modified: 2013-10-07 07:22 UTC
From: Assigned: remi (profile)
Status: Closed Package: event (PECL)
PHP Version: 5.5.4 OS: GNU/Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2013-10-06 16:50 UTC]

When build with libevent >= 2.0.18 all works correctly
When build with libevent <= 2.0.10 if doesn't work because of "evhttp_connection_get_bufferevent" not available

Sorry, but I don't know exactly in which version this function have been added.

If this function is really mandatory (can't be condionally used), I think a check for it in the config.m4 will be usefull (don't allowed build)

Test script:
php -m

Expected result:

Actual result:
PHP Warning:  PHP Startup: Unable to load dynamic library '/builddir/build/BUILD/php-pecl-event-1.8.0/event-1.8.0/modules/' - /builddir/build/BUILD/php-pecl-event-1.8.0/event-1.8.0/modules/ undefined symbol: evhttp_connection_get_bufferevent in Unknown on line 0


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-06 16:56 UTC]
From :

Changes in version 2.0.17-stable (10 Feb 2012)

 o Backport evhttp_connection_get_bufferevent to Libevent 2.0 (da70fa7 Arno Bakker)
 [2013-10-07 06:56 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: remi
 [2013-10-07 06:56 UTC]
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

 [2013-10-07 07:22 UTC]
Fixed in 1.8.1.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Oct 02 23:05:52 2022 UTC