When I run Apache via XAMPP Web Server I see that PHP version is:
5.6.30 using command: phpinfo();
But when I do php -v
in console I get another version.
How to change global PATH php from XAMPP?
XAMPP uses: .:/Applications/XAMPP/xamppfiles/lib/php