1
Is there any way to get AppArmor to work with Apache2 + mod_php + MySQL?
I've already tried sudo aa-complain apache2
and sudo aa-logprof
, but still I get a database connection error.
1
Is there any way to get AppArmor to work with Apache2 + mod_php + MySQL?
I've already tried sudo aa-complain apache2
and sudo aa-logprof
, but still I get a database connection error.
1
I figured it out, according to this bug report, the temporary fix is to add attach_disconnected
to the flags
at the top of the profile. Something like:
/usr/sbin/apache2 flags=(attach_disconnected)