Just get a native Linux through virtualization like VirtualBox or VMware or WSL (maybe wait for WSL2) and run Ubuntu in it. You'll find it makes sense when you want to deploy stuff on the cloud on Ubuntu with mostly identical environment.
Re: Ask HN: What's your PHP development environment setup?
#11Don't do weird setup on Windows or Mac locally.