Uses php_sapi_name instead of regex matching to determine CLI Server