I wrote a detailed guide on how to make a local apache server with support for multiple sites, PHP and MySQL. The articles are in Polish, but google translator translates everything nicely.
Local server installation with multi-site support - Antosik.dev (PL)