setMasterPidFile (string $pid_file = '') : void

参数

@param    string    $pid_file    自定义主进程ID文件

说明

自定义主进程ID文件,如果不定义,内置将会自动生成一个PID文件并保存在和启动脚本平行的目录中.

举栗

PHPCreeper::setMasterPidFile('/path/to/master.pid');

results matching ""

    No results matching ""