dyld: Library not loaded: libicui18n.62.dylib error after installing Node.js via Homebrew
Hi everyone! I'm new to PHP, working on a Mac. Today I decided to install Node.js via Homebrew (command `brew install node`), and after that my PHP stopped working. When trying to run any script, for example:
```php
```
I get an error in the terminal:
```
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib
Referenced from: /usr/local/bin/php
Reason: image not found
```
PHP is also installed via Homebrew. Before installing Node, everything was working fine. Probably Homebrew updated some libraries, and PHP can no longer find the required version of icu4c. I tried reinstalling PHP via `brew reinstall php`, but that didn't help. My Mac is running macOS Monterey.
Please advise how to fix this error? Thanks in advance!