|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63431 0.0.5 still has 0.0.4 version in php_libevent.h
Submitted: 2012-11-03 18:10 UTC Modified: 2017-10-24 04:45 UTC
From: tobias382 at gmail dot com Assigned:
Status: Suspended Package: libevent (PECL)
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
44 - 21 = ?
Subscribe to this entry?

 [2012-11-03 18:10 UTC] tobias382 at gmail dot com
As of 0.0.5, php_libevent.h still contains this line:

#define PHP_LIBEVENT_VERSION "0.0.4"

instead of this line:

#define PHP_LIBEVENT_VERSION "0.0.5"

which prevents it from being used as a dependency in projects via Composer 
because phpversion("libevent") returns '0.0.4' for the 0.0.5 build when projects 
do actually need 0.0.5.

Test script:
Run php composer.phar install with this in the current working directory and libevent 0.0.5 installed:

  "require": {
    "ext-libevent": "0.0.5"

Expected result:
$ php composer.phar install
Loading composer repositories with package information
Installing dependencies
Nothing to install or update
Generating autoload files

Actual result:
$ php composer.phar install
Loading composer repositories with package information
Installing dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested PHP extension ext-libevent 0.0.5 has the wrong version 
(0.0.4) installed.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-08-05 19:49 UTC]
-Assigned To: +Assigned To: osmanov
 [2013-08-06 11:57 UTC]
-Assigned To: osmanov +Assigned To: tony2001
 [2013-08-06 11:57 UTC]
I don't maintain the "libevent" extension. Mine is "event"
 [2013-08-06 12:52 UTC] tobias382 at gmail dot com
I'm very confused. According to and osmanov maintains the event extension and 
tony2001 maintains the libevent extension. Does the site have you two reversed?
 [2017-10-24 04:45 UTC]
-Status: Assigned +Status: Suspended -Assigned To: tony2001 +Assigned To:
 [2017-10-24 04:45 UTC]
I'm gonna close this as the libevent package on PECL had no had a release for 4 years, and there haven't really been much acitivity since. If development picks back up then this report should be re-opened
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Nov 29 22:01:27 2023 UTC