|  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
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:
24 - 17 = ?
Subscribe to this entry?

 [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-2023 The PHP Group
All rights reserved.
Last updated: Thu Jan 26 22:05:54 2023 UTC