I am trying to get a PHP file to work through XAMPP, but nothing I am doing is working. I even installed PHP on Homebrew in my terminal. So, in my Visual Studio code, I am getting a PHP executable not found. Install PHP 7.4.0 or higher and add it to your path.
Let me add that I’m not an expert by any means, so fixing paths is a bit shaky for me because I do not want to mess up my MacBook.
I have PHP 8.3.11 installed in the terminal. I ran the PHP command, and it says my path is this: /opt/homebrew/bin/php. I do not think this is right. I have been trying to fix this issue for a week and hope to get some step-by-step help here, if possible. I would greatly appreciate the help, and thank you in advance.
4