PHP 手冊
上一頁 |  | 下一頁

# CXXVI.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.

> 備注:此延伸不適用於 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)

上一頁 | 最開頭 | 下一頁
yaz_wait | 上一層 | yp_all