php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52498 when FPM is enable, php-cli is linked against libevent (it shouldn't)
Submitted: 2010-07-30 13:33 UTC Modified: 2010-09-07 23:13 UTC
From: fat@php.net Assigned: fat (profile)
Status: Closed Package: FPM related
PHP Version: 5.3.3 OS: linux
Private report: No CVE-ID: None
 [2010-07-30 13:33 UTC] fat@php.net
Description:
------------
root@wild # ldd sapi/fpm/php-fpm
...
        libevent-1.4.so.2 => /usr/local/libevent-1.4.13/lib/libevent-1.4.so.2 
(0xb7d98000)
...

root@wild # ldd sapi/cli/php
...
        libevent-1.4.so.2 => /usr/local/libevent-1.4.13/lib/libevent-1.4.so.2 
(0xb8030000)
...

libevent is linked by sapi/cli/php when it shouldn't

Test script:
---------------
compile PHP with --enable-fpm

Expected result:
----------------
root@wild # ldd sapi/fpm/php-fpm
...
        libevent-1.4.so.2 => /usr/local/libevent-1.4.13/lib/libevent-1.4.so.2 
(0xb7d98000)
...

root@wild # ldd sapi/cli/php
...
...


Actual result:
--------------
root@wild # ldd sapi/fpm/php-fpm
...
        libevent-1.4.so.2 => /usr/local/libevent-1.4.13/lib/libevent-1.4.so.2 
(0xb7d98000)
...

root@wild # ldd sapi/cli/php
...
        libevent-1.4.so.2 => /usr/local/libevent-1.4.13/lib/libevent-1.4.so.2 
(0xb8030000)
...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-07-30 13:34 UTC] fat@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: fat
 [2010-09-07 23:12 UTC] fat@php.net
Automatic comment from SVN on behalf of fat
Revision: http://svn.php.net/viewvc/?view=revision&revision=303147
Log: - Fixed bug #52498 (libevent was not only linked to php-fpm)
 [2010-09-07 23:13 UTC] fat@php.net
-Status: Assigned +Status: Closed
 [2010-09-07 23:13 UTC] fat@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 11:01:28 2024 UTC