PHP: Config clean-up and better docs.