I use XAMPP as my development environment (e.g. XAMPP 7.2.15 [Apache/2.4.38 + PHP/7.2.15] or XAMPP 7.3.12 [Apache/2.4.41 + PHP/7.3.12]) on an external USB hard disk locally connected to a Windows computer, e.g. a Win10 64-bit laptop.
On the web server of the production environment Apache is running, but here under Linux of an external hoster.
In my experience, switching the web server software between these two environments should be avoided at all times.
I can think of NO reason why I should use nginx in development, but apache without nginx in production.
Why should I voluntarily expose myself or my development to such a trap?
You can download XAMPP for all major development environments free of charge at the link “https://www.apachefriends.org/index.html”.
At least under Windows there is an additional “portable” version of XAMPP available under the link “https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/”, which can be installed without admin rights and used without admin rights.