removed the "is_cli" config entry and just is php_sapi_name() to check it.