php.net |  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-11-25 15:11 UTC] admin at saltwaterc dot net
Description:
------------
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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