How to check whether PHP is installed in Mac?

To check the whether PHP is installed in Mac, open the terminal and type php -v. This will display the PHP version installed in the system.

Screenshot 2020-04-23 at 11.26.48 AM

Leave a Reply