Skip to content

Commit

Permalink
improve install docs
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikbosch committed Jun 11, 2024
1 parent c6f0e62 commit 48fc6d4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ of your php version. It might look as follows.
```shell
PHP_VERSION=`php -r "echo PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION;"`
PHP_EXTENSION_DIR=`php -r "echo ini_get('extension_dir');"`

# download the extension file into the extension dir
curl -o "${PHP_EXTENSION_DIR}/libphp_ext_fs_notify.so" "https://github.com/genkgo/php-ext-fs-notify/releases/latest/download/linux-php${PHP_VERSION}-libphp_ext_fs_notify.so"

# enable the extension
echo 'extension=libphp_ext_fs_notify.so' > /etc/php/${PHP_VERSION}/cli/conf.d/20-libphp_ext_fs_notify.ini
```

Expand Down

0 comments on commit 48fc6d4

Please sign in to comment.