Add apache and php directives