Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
変更が加えられたときにLinuxでファイルを読み取り、ファイルの内容をphpに出力する必要があります。私はinotifyについて読みましたが、それが私が探しているものだと思います。よくわかりません。php で inotify を使用できるように、Linux に inotify をインストールする必要がありますか? .
ありがとう、
PHPでshell/を使用できます:bash
shell
bash
$shell = shell_exec("cat file"); print $shell