I tried to inquire PHP version by typing “PHP -v” in my terminal. It answered me “PHP: command not found”. This happened after installing twig templating ver 3.0 software in my mac. I finally found my PHP file at “usr/local/etc/php”. I was wondering if this is the right place. If not please advise where to place my PHP file and how. I tried hours looking for a solution in the internet and computer books, I can't find an answer.