PHP Manual
后退 |  | 前进

# LXXXIV. YP/NIS Functions

# 简介

NIS (formerly called Yellow Pages) allows network management of important administrative files (e.g. the password file). For more information refer to the NIS manpage and The Linux NIS(YP)/NYS/NIS+ HOWTO. There is also a book called Managing NFS and NIS by Hal Stern.

> 注: This extension has been moved to the PECL repository and is no longer bundled with PHP as of PHP 5.1.0.

> 注: 本扩展模块不可用于 Windows 平台。

# 需求

None besides functions from standard Unix libraries which are always available (either `libc` or `libnsl`, configure will detect which one to use).

# 安装

To get these functions to work, you have to configure PHP with --enable-yp.

# 运行时配置

本扩展模块在 `php.ini` 中未定义任何设置指令。

# 预定义常量

以下常量由本扩展模块定义，因此只有在本扩展模块被编译到 PHP 中，或者在运行时被动态加载后才有效。

`YPERR_BADARGS` (integer)

`YPERR_BADDB` (integer)

`YPERR_BUSY` (integer)

`YPERR_DOMAIN` (integer)

`YPERR_KEY` (integer)

`YPERR_MAP` (integer)

`YPERR_NODOM` (integer)

`YPERR_NOMORE` (integer)

`YPERR_PMAP` (integer)

`YPERR_RESRC` (integer)

`YPERR_RPC` (integer)

`YPERR_YPBIND` (integer)

`YPERR_YPERR` (integer)

`YPERR_YPSERV` (integer)

`YPERR_VERS` (integer)

后退 | 起点 | 前进
syslog | 上一级 | yp_all