PHP is a development language. Code written in a development language usually needs to be run under specified software. Therefore, if the code we wrote needs to be displayed (run) and seen, we need to install these software to run the code.
We call the software that runs the code we write and the software that runs the code together a development environment.
When many friends first started learning, they installed certain software when they heard that a certain environment was good. Due to lack of relevant knowledge, I have no opinion. Falling into a strange circle where people are just like clouds. Change this today, change that tomorrow.
The current only standard for verifying truth, please always ensure that the
environment can meet your learning needs. Don't waste precious learning time by dwelling on the environment.
We believe that the environment only needs to meet the learning requirements. After you learn it, you can then work on some more complex specific configurations online and in production environments.