It seems like installing Node.js via Homebrew may have conflicted with your PHP installation. Since Homebrew manages paths and dependencies, it’s possible that the PHP libraries got misconfigured after the Node.js installation
brew reinstall icu4c
brew link icu4c --force
brew reinstall php
which php //It should point to /usr/local/bin/php. If not,to update the PATH.
source ~/.bash_profile
brew unlink php
brew link php
brew list | grep php
brew uninstall [email protected] --Example for PHP 7.4
Watch video dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib node js php -v homebrew online without registration, duration hours minute second in high quality. This video was added by user Tech Nursery 10 September 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 50 once and liked it 0 people.