The php stuff must be done before creating conf files