|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #75519 automagic dependency on libapparmor
Submitted: 2017-11-13 22:03 UTC Modified: -
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: michael at orlitzky dot com Assigned:
Status: Open Package: FPM related
PHP Version: Irrelevant OS:
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:
35 + 29 = ?
Subscribe to this entry?

 [2017-11-13 22:03 UTC] michael at orlitzky dot com
As reported in, the FPM sapi has an "automagic" dependency on libapparmor. That is, PHP will be linked against libapparmor if libapparmor is present, and there is no way to disable that behavior.

That can cause problems if libapparmor is installed for a different, unrelated, reason when PHP happens to be built. If the user later uninstalls libapparmor (not knowing that PHP is linked against it), then php-fpm will begin to crash.

This is usually addressed with a ./configure flag, "--with-fpm-apparmor" or something like that.


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat May 30 19:01:24 2020 UTC