XXXV. File Alteration Monitor Functions簡介FAM monitors files and directories, notifying interested applications of changes. More information about FAM is available at http://oss.sgi.com/projects/fam/. A PHP script may specify a list of files for FAM to monitor using the functions provided by this extension. The FAM process is started when the first connection from any application to it is opened. It exits after all connections to it have been closed.
需求This extension uses the functions of the FAM library, developed by SGI. Therefore you have to download and install the FAM library. 安裝To use PHP's FAM support you must compile PHP --with-fam[=DIR] where DIR is the location of the directory containing the lib and include directories. 運行時配置本增加模組在 php.ini 中未定義任何配置選項。 預定義常量以下常量由本增加模組定義,因此只有在本增加模組被編譯到 PHP 中,或是在運行時被動態加載後才有效。 表格 1. FAM event constants
| ||||||||||||||||||||||