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.
注意: 本扩展已被移动到 PECL 库中且自以下版本起不再被绑定到 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 中,或者在运行时被动态加载后才有效。
access violation (this has only been added recently and is only available from PECL CVS for now)
The function arguments are bad
YP database is bad
Database busy
cannot bind to server in this domain
no such key in map
no such map in server's domain
Local domain name not set
No more records in map database
Can't communicate with portmapper
resource allocation failure
RPC failure - domain has been unbound
Can't communicate with ypbind
internal yp server or client error
Can't communicate with ypserv
YP version mismatch