Database::checkEnvironment PHP Method