PHP - Manual: radius_config
2024-11-13
(PECL radius >= 1.1.0)
radius_config — Causes the library to read the given configuration file
$radius_handle
, string $file
): boolBefore 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
。
官方地址:https://www.php.net/manual/en/function.radius-config.php