Fixes apache restart after modules are enabled.