F
F
fLipE2014-08-13 16:31:09
linux
fLipE, 2014-08-13 16:31:09

How to install pecl-event on CentOS?

Installing phpDaemon requires installing pecl-event.
Actually, the problem is:
if you install via pecl install event, the following crashes:
pecl / event conflicts with package "pecl / libevent" (version >= 0.0.2), installed version is 0.1.0
No valid packages found
install failed
Tried to demolish libevent, The result is the same.
If "pecl install pecl.php.net/get/event-1.6.1.tgz " then:
checking for event_free in -levent_core... no
configure: error: event_free not found in event_core library, or the library is not installed
ERROR: `/var/tmp/event/configure --enable-event-debug=no --with-event-libevent-dir=/usr --with-event-pthreads=no --with-event-extra -- with-event-openssl=no --with-openssl-dir=no' failed

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
s1dney, 2014-08-13
@fLipE

pecl/event conflicts with package "pecl/libevent" (version >= 0.0.2), installed version is 0.1.0

Installed package in yum?
pecl clearly hints that there are not enough libraries for assembly, it needs libevent-devel
To avoid such problems, I advise you to always connect the REMI repository next to epel, there are always all fresh libs, convenient updates via yum and you don’t need to build something via pecl.
yum install php-pecl-event -y

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question