PHP How to install a new PHP version using Homebrew on Mac Check the current PHP version installed First check your current version on mac with the below command into your terminal. php -v Output: PHP 7.3.11 (cli) (built: Jun