PHP 手册
后退 |  | 前进

# radius_config

(PECL)

radius_config -- Causes the library to read the given configuration file

## 说明

bool radius_config ( resource radius_handle, string file )

Before issuing any Radius requests, the library must be made aware of the servers it can contact. The easiest way to configure the library is to call radius_config(). radius_config() causes the library to read a configuration file whose format is described in radius.conf.

## 参数

radius_handle

file

  The pathname of the configuration file is passed as the file argument to radius_config(). The library can also be configured programmatically by calls to radius_add_server().

## 返回值

如果成功则返回 `TRUE`，失败则返回 `FALSE`。

## 参见

radius_add_server()

后退 | 起点 | 前进
radius_close | 上一级 | radius_create_request