Missing `directives` variable. Could add it here, but ideally we should remove it from the php cookbook now we're properly templating and not just bunging in everything at the end of the file.