1. Install XAMPP with PHP 7.4.33

2. In the httpd.conf file, replace daemon with your name when in User daemon –> User tesla

3. In /Applications/XAMPP/xamppfiles/phpmyadmin, set tmp file with 777 permissions: sudo chmod -R 777 tmp

4. Download built crater from https://crater.financial/open-source (not github release). Copy it at /Applications/XAMPP/xamppfiles/htdocs.

5. Set writing permissions with chmod -R 777 /Applications/XAMPP/xamppfiles/htdocs/crater

6. Access localhost/phpmyadmin. Create a new user called `crater` with all permissions and access to localhost.

7. Creater an empty database called crater.

7. Configure the Apache server to point to crater/public folder:
DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs/crater/public"

8. Open /Applications/XAMPP/xamppfiles/etc/php.ini, look for «[Pcre]» and paste in the section pcre.jit=0

8. Restart Apache server and turn on MySQL server.

9. Access localhost. Crater installation page should appear. Follow steps to get Crater working.