First step is to get Apache and PHP. I found the XAMPP web site to be quite useful for this.
The instructions are straight forwards, and I won’t duplicate them here. All you need to know is that you want to make sure you install PHP and Apache. Other things are optional.
For example, if you want to use MariaDB instead of SQL Server Express, then make sure you select the MariaDB option.