changed config file type to .php for security reasons