Why are you using xamp at all?
But check this link https://stackoverflow.com/questions/30526813/how-to-align-my-php-version-on-my-mac-with-the-php-version-installed-in-mamp-dur
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi, i've install xampp on my Mac which has php version 7.2.x, but when i type php -v on terminal it's show php version 5.6 which i know is already came with mac because when i type command
which php
it's show me
usr/local/php
so how do i set my xampp php version to my path because i use it for a laravel 5.6 project which need php 7.1 or 7.2 i tried different method from google but known of it works for me.i'm stuck here without moving to my actual work for a few hour, hope someone have the solution.
Please or to participate in this conversation.