|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53404 Statically link libevent into PHP-FPM
Submitted: 2010-11-25 15:11 UTC Modified: 2010-11-25 18:43 UTC
From: admin at saltwaterc dot net Assigned: fat (profile)
Status: Wont fix Package: FPM related
PHP Version: 5.3.3 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: admin at saltwaterc dot net
New email:
PHP Version: OS:


 [2010-11-25 15:11 UTC] admin at saltwaterc dot net
Some of us would like to have the possibility to statically link the libevent 
into the php-fpm binary in order to simplify the deployment aka put just a single 
binary to the production machines. The configure fails to pick up the static 
library version of libevent.

Test script:
cd ~/libevent-1.4.14b
./configure --prefix=/usr/local/libevent-1.4.14b --disable-shared
make ; make install

cd ~/php-5.3.3
./configure --enable-fpm --with-libevent-dir=/usr/local/libevent-1.4.14b ...

Expected result:
Successful configuration and build.

Actual result:
checking for libevent >= 1.4.11 install prefix... configure: error: Could not 
find libevent >= 1.4.11 in /usr/local/libevent-1.4.14b


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-25 18:43 UTC]
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: fat
 [2010-11-25 18:43 UTC]
libevent is about to be removed from FPM. This won't be a problem at a near 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 12:01:31 2024 UTC