This fixed my issue.
If you are using zsh, comment these lines under .zshrc file
#export PATH="/opt/homebrew/opt/php@8.0/bin:$PATH"
#export PATH="/opt/homebrew/opt/php@8.0/sbin:$PATH"
This fixed my issue.
If you are using zsh, comment these lines under .zshrc file
#export PATH="/opt/homebrew/opt/php@8.0/bin:$PATH"
#export PATH="/opt/homebrew/opt/php@8.0/sbin:$PATH"