Ubuntu 16.04 - Install PHP Inotify
Steps
Install inotify through PECL with the following commands:
Run these commands to add the extension to the PHP CLI:
Run these commands to add the extension to PHP for Apache:
Helpful Starter Script
Below is a useful script to get you started with using inotify. You can use it to figure out what events get fired when you perform different actions.
References
Last updated: 26th February 2022
First published: 16th August 2018
First published: 16th August 2018