MAMP Won’t Start on macOS? How to Fix Stuck PID Files

If you use MAMP for local development on macOS, you may occasionally run into a situation where Apache or MySQL refuses to start.