14 Aug 2026

502 and 403 locally: first steps

Docroot, php-fpm, and proxy — typical causes after importing an archive.

The most common “break” after import is usually docroot or php-fpm not running — not MacFullStack itself.

502 Bad Gateway

  1. Stack — nginx and php-fpm (Native) running?
  2. PHP pin matches your code?
  3. Node/Python proxy — is the dev server alive on the port?

/help/error-502-403

403 Forbidden

  1. Docroot — real folder with index.php / wp-config.php.
  2. Permissions on ~/MacFullStack/www/….
  3. Bitrix: installer finished?

Then Sync vhosts. Discussions: forum → Bugs.

MacFullStack reduces pain with docroot autodetect — CMS.

MacFullStack

Try it on your Mac

Free — one PHP project and core stack. Pro unlocks Next/Django, Postgres, Share, and unlimited projects.

Download Pro Teams