XXVII. File Alteration Monitor Functions

Introdução

FAM monitors files and directories, notifying interested applications of changes.

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.

Nota: Esta extensão não está disponível na plataforma Windows.

Requisitos

This extension requires ... version ... as available on ...

Instalação

Configuração durante execução

Esta extensão não define nenhum parâmetro de configuração no php.ini.

Tipos Resource

FAM resource

Constantes Predefinidas

As contantes abaixo são definidas por esta extensão e somente estarão disponíveis quando a extensão foi compilada com o PHP ou carregada dinamicamente durante a execução.

Tabela 1. FAM constants

Constantmeaning
FAMChanged (integer) The status of
FAMDeleted (integer)  
FAMStartExecuting (integer)  
FAMStopExecuting (integer)  
FAMCreated (integer)  
FAMMoved (integer)  
FAMAcknowledge (integer)  
FAMExists (integer)  
FAMEndExist (integer)  

Índice
fam_cancel_monitor -- Terminate monitoring
fam_close -- Close FAM connection
fam_monitor_collection -- Monitor a collection of files in a directory for changes
fam_monitor_directory -- Monitor a directory for changes
fam_monitor_file -- Monitor a regular file for changes
fam_next_event -- ...
fam_open -- Open connection to FAM daemon
fam_pending -- Check for pending FAM events
fam_resume_monitor -- Resume suspended monitoring
fam_suspend_monitor -- Temporarily suspend monitoring