Ways to work offline with your WordPress

MAMP is the quickest route to a local dev environment.

You can also use your Mac as a LAMP server without to much trouble, I found this more stable and easier to recreate server conditions than using MAMP. This is an excellent guide https://coolestguidesontheplanet.com/get-apache-mysql-php-phpmyadmin-working-osx-10-10-yosemite/

A 3rd option is to start using Docker…
This is my current choice as (if you use Docker on your prod server) you can recreate conditions exactly and each site can have its own config within a container

https://codeable.io/wordpress-developers-intro-docker/

error code: 523