Due to the company's business changes, an old project was handed over to me and needed maintenance. I saw that the project environment version was very old. When I checked the current system version number, I found that PHP version switching was required.
php -v
1. Use brew unlink and brew link
brew unlink php
brew link [email protected]
result failed
Second reinstall tidy-html5, the result still failed
brew reinstall tidy-html5
Three-purpose brew uninstall and brew install
four vim