|  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
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:
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-2021 The PHP Group
All rights reserved.
Last updated: Wed Oct 27 02:03:33 2021 UTC