Req #75519 [Opn->Csd]: automagic dependency on libapparmor
Edit report at https://bugs.php.net/bug.php?id=75519&edit=1
ID: 75519
Updated by: cmb@php.net
Reported by: michael at orlitzky dot com
Summary: automagic dependency on libapparmor
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: FPM related
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This is available as of PHP 8.0.0[1].
[1] <https://github.com/php/php-src/commit/40cdc5f298002a5a3d8386d8fc468cdd226fac59>
Previous Comments:
------------------------------------------------------------------------
[2017-11-13 22:03:33] michael at orlitzky dot com
Description:
------------
As reported in https://bugs.gentoo.org/637402, 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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75519&edit=1
Thread (2 messages)