I am running a Windows machine and I am trying to set up PHP on my system. I have already installed PHP, but now I am facing an issue with setting the environment variable for PHP.
I want to make sure that the PHP executable can be accessed from any command prompt window, no matter what the current directory is. I have tried adding the PHP installation directory to the PATH environment variable, but it doesn't seem to be working as expected.
I would really appreciate some guidance on how to correctly set the environment variable for PHP on Windows. Specifically, I would like to know the exact steps to take and where to find the necessary settings, as I am not very familiar with the Windows environment variables.
Thank you in advance for your help!