Hi guys I'm not a developer so I hope to be clear.
I'm building a website on Wordpress in localhost. So one way to do it is downloading XAMPP (for MAC) which comes with PHP 8.2.4 version.
But I have to install (brew install php) a separated version of PHP (8.3 newest) because my command line didn't get php commands work:
php -v
-bash: php: command not found
According to what I've seen on internet, "you need to install php".
The reason I am doing this is because I need modules (imagick and intl) to make some features work. The problem is that I've got TWO PHP versions installed and the modules that I pull are happening for the newest version and not the one it should (Php XAMPP).
How can I make this work?