From: Operating system: Linux PHP version: 5.3.3 Package: FPM related Bug Type: Bug Bug description:Statically link libevent into PHP-FPM
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 -- Edit bug report at http://bugs.php.net/bug.php?id=53404&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53404&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53404&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53404&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=53404&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53404&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=53404&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=53404&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=53404&r=needscript Try newer version: http://bugs.php.net/fix.php?id=53404&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=53404&r=support Expected behavior: http://bugs.php.net/fix.php?id=53404&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=53404&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=53404&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=53404&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53404&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=53404&r=dst IIS Stability: http://bugs.php.net/fix.php?id=53404&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=53404&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=53404&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=53404&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=53404&r=mysqlcfg