diff --git a/debian/rules b/debian/rules index 192e38bfee6ff60a9a83e274da701ef1ed97ea5a..69374a7e858889e6c477343f27cc0978b23a5a5d 100755 --- a/debian/rules +++ b/debian/rules @@ -124,6 +124,7 @@ endif ifeq ($(DEB_HOST_ARCH_OS),linux) CONFIGURE_SYSTEMD := --with-fpm-systemd + CONFIGURE_APPARMOR := --with-fpm-apparmor endif # specify some options to our patch system @@ -235,12 +236,13 @@ export fpm_config = \ --prefix=/usr --enable-fpm --enable-cli --disable-cgi --disable-phpdbg \ --sysconfdir=/etc/php/$(PHP_NAME_VERSION)/fpm \ --with-fpm-user=www-data --with-fpm-group=www-data \ - --with-fpm-acl --with-fpm-apparmor \ + --with-fpm-acl \ --with-config-file-path=/etc/php/$(PHP_NAME_VERSION)/fpm \ --with-config-file-scan-dir=/etc/php/$(PHP_NAME_VERSION)/fpm/conf.d \ $(COMMON_CONFIG) \ --with-libevent-dir=/usr \ - $(CONFIGURE_SYSTEMD) + $(CONFIGURE_SYSTEMD) \ + $(CONFIGURE_APPARMOR) export phpdbg_config = \ --prefix=/usr --enable-phpdbg --enable-cli --disable-cgi \