XAMPP is the most popular PHP development environment
(Recommend for beginner) Download and install XAMPP
the popular PHP-MYsql development environment
- download from: https://www.apachefriends.org/
- XAMPP tutorial
- <https://www.youtube.com/watch?v=r0lDDeVkaks>
- with vscode <https://www.youtube.com/watch?v=Op5TTJPCtso>
- <https://www.youtube.com/watch?v=JpOIKOAYUgs>
- you may need change apache port if port 80 is not available <https://www.youtube.com/watch?v=E9bLYwcuiSk>
- you could find or add the php code in c:\xampp\htdocs and visit the site by http://localhost:8080 (if you change port to 8080)