Package Details: php-event 3.0.5-1

Git Clone URL: (read-only, click to copy)
Package Base: php-event
Description: PHP PECL extension providing interface to libevent library
Upstream URL:
Keywords: event libevent pecl php
Licenses: PHP
Submitter: nyim
Maintainer: keithspg
Last Packager: leo980
Votes: 0
Popularity: 0.000000
First Submitted: 2017-09-18 08:44 (UTC)
Last Updated: 2021-06-13 19:17 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

dringsim commented on 2024-05-12 09:51 (UTC)

please add backup=('etc/php/conf.d/event.ini') to PKGBUILD, thanks

nyim commented on 2019-12-08 14:37 (UTC)

upgrade to 2.5.3

keithspg commented on 2019-12-04 01:25 (UTC)

Just went through this again. It was my problem, not php-event or libevent. I have successfully built php-event 2.4.3 thru 2.5.3 with php 7.4.0. I recommend we change pkgver to 2.5.3

keithspg commented on 2019-11-30 18:47 (UTC)

Recent php was 7.3.12 and event worked. Arch just upgraded php to php 7.4.0 and this extension when built with 7.4.0 will not load. The error is: PHP Warning: PHP Startup: Unable to load dynamic library 'event' (tried: /usr/lib/php/modules/event (/usr/lib/php/modules/event: cannot open shared object file: No such file or directory), /usr/lib/php/modules/ (/usr/lib/php/modules/ undefined symbol: php_error_docref0)) in Unknown on line 0

keithspg commented on 2019-08-08 15:45 (UTC)

Do not know how it affects the other architectures, but php-event 2.4.3 causes 7.3.8 to core dump. When I changed the version to the current available from pecl (2.5.3) it compiles and runs.

keithspg commented on 2019-08-08 14:41 (UTC)

SO, it built and installed for 7.3.6 and it worked. It built as php-event-2.4.3-1. I built it for 7.3.8 and now it does not seem to work. I get a core dump every time I try to start php with this extension added. I will need some time to investigate what is going on.

nyim commented on 2019-04-01 01:42 (UTC)

@keithspg Please help this build for ARM as I do not familiar with ARM builds. You have been added to co-maintainers for convenience.

keithspg commented on 2019-03-31 20:36 (UTC)

this builds and installs for armv6h and armv7h. You may want to add them to the arch list.

nyim commented on 2019-03-30 02:25 (UTC)


I tried on my computer. I found that the php-7.3.3 does not enable by default, so I add the "extension=sockets" in the configure file event.ini.

Please have a try, and tell us how it goes

keithspg commented on 2019-03-29 14:37 (UTC)

If I build this for php-fpm 7.3.3 and cannot get it to work. I built php-fpm and installed it then installed php-event. No other extensions are installed. When I run php-fpm -v I get this: $ php-fpm -v [29-Mar-2019 09:34:53] NOTICE: PHP message: PHP Warning: Cannot load module 'event' because required module 'sockets' is not loaded in Unknown on line 0 PHP 7.3.3 (fpm-fcgi) (built: Mar 29 2019 13:18:29) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.3, Copyright (c) 1998-2018 Zend Technologies

If I uninstall this extension, I get no warning. How do I get around this? I thought that 'sockets' was already enabled and installed with 7.3.3... I poked around and cannot seem to find any reference to this error.