Skip to content
Pancake Stack
ChaptersPancake Stack Manual
Getting started
  1. 1Welcome to Pancake
  2. 2A tour of the window
  3. 3Your first site
Building sites
  1. 4Working with sites
  2. 5Files, the editor and design
  3. 6Bringing sites in
  4. 7Databases
Sharing and publishing
  1. 8Putting sites online
  2. 9On my network and local HTTPS
  3. 10Mail from your sites
  4. 11Deploying
Running your stack
  1. 12Backups and save points
  2. 13Services, tasks and workers
  3. 14The Assistant and MCP
Reference
  1. 15Settings, templates and plug-ins
  2. 16Plans and subscription
  3. 17Troubleshooting
  4. 18Privacy and your data

Pancake Stack › Pancake Stack Manual

Mix the batter · Building sites

Working with sites

Everything on a site card: opening and editing, PHP versions and caches, save points, Git, PHP settings, Xdebug, staging copies, Blueprints and more.

4.1The site card

Each site in the Sites pane is a card. The light at the top left is green while the servers are running; next to the name is the kind of site (PHP, Static, or Python with its framework) and below it the site's address.

Open
Opens the site in your browser. It's greyed out while the servers are stopped: click Start All first. Once local HTTPS is on, a lock button opens the https:// address.
Show Folder
Opens the site's folder in the Finder.
Edit
Opens the site's folder in your editor or site-design app (see Edit in your own app).
Files
Opens the built-in file browser, editor and live preview. See Files, the editor and design.
QR code
Shows a code to open the site on a phone or tablet: its test link or domain when it's online, or its network name when On my network is on.
Save points (the clock)
Named copies of the site you can go back to. See Save points.

When the card is narrow, the buttons shrink to icons; hold the pointer over one to see its name.

4.2PHP version and cache

PHP sites have two menus under the buttons.

Note

If a site was set to an older PHP on FullStack and your plan changes, it runs on the newest PHP and keeps its choice for later. The card says so, with a button to switch it to the newest version for good.

4.3AutoIndex

AutoIndex (list folders without an index page) shows a list of files when someone opens a folder that has no index.html or index.php. It's handy for a folder of downloads or documents. Hidden and sensitive files (such as .env, .sql dumps, keys and .htpasswd) are never listed or served, with AutoIndex on or off.

4.4Save points

A save point is a copy of a site's files and database that you can go back to in one click, such as "Before WordPress update".

  1. Click the clock button on the site's card and choose Save a Save Point….
  2. Give it a name and click Save.
  3. To go back, open the same menu, choose the save point and then Restore.

Pancake also takes save points by itself before changes that are hard to undo: switching PHP version, restoring a backup, using a new design, optimizing images, letting the Assistant change a file, downloading a live site again, and loading a site from Pancake Cloud. Each site keeps its newest 20 save points, apart from its regular backups (see Backups and save points).

4.5Edit in your own app

The Edit button opens the site's folder in the app chosen in Settings ▸ Editors ▸ Edit sites with: a code editor such as BBEdit, VS Code, Nova, Cursor or Zed, or a site-design app such as RapidWeaver, Blocs or Hype. The app macOS uses for each file opens files in their default apps.

A site can choose its own app: turn on Advanced and use Edit this site with on its card.

4.6Python sites

Python cards have their own buttons instead of the PHP menus.

With Advanced on: Python version (3.12, 3.13 or 3.14; changing it rebuilds the environment), App entry, Reload when the code changes, the number of Workers (1 to 8), the App Log and Setup Log, Rebuild Environment… and, for Django, Run Check.

4.7Advanced settings on a card

Turn on Advanced in the Sites pane header to see more on every card.

Git
See Git below.
Aliases
More names for the same site, separated by commas, such as www.shop.localhost. Aliases must end in .localhost.
PHP Settings…
See PHP settings.
Apache Directives…
Lines added inside this site's Apache <VirtualHost>, for rewrite rules or headers your host would let you set. Pancake checks them with Apache first; if they don't load, they're skipped and the error is shown, so a typo can't stop your other sites.
Logs
Opens the Logs window at this site's PHP errors.
Xdebug
Off, When triggered (by a browser extension or XDEBUG_TRIGGER) or Every request. Your editor (VS Code, PhpStorm, Nova) listens on port 9003. The site runs in its own debugging PHP process, so other sites stay fast.
Database
Pancake's own database, or one of your outside databases. Either way the site gets DB_HOST, DB_PORT, DB_NAME, DB_USER and DB_PASSWORD for it.
Web server
Apache, or Nginx FullStack: try_files routing and no .htaccess, as on an Nginx host. Apache still answers first (for HTTPS, tunnels and local-only rules) and hands the site's requests to Nginx.
Single-page app
Static sites only: any address that isn't a file opens index.html, so routes such as /about in Vite, Lovable and React apps work when opened directly or reloaded.
Send real mail
TallStack Sends this site's mail through your SMTP relay as well as capturing it. See Mail relay.
Environment…
TallStack Your own environment variables. See Environment variables.
Optimize Images…
See Optimize images.
Save as Blueprint…
See Blueprints.
Make a Staging Copy…
TallStack See Staging copies.
Remove Site…
See Removing a site.

4.8PHP settings

PHP Settings… changes PHP for one site only.

Defaults puts everything back. To change PHP for every site, edit the php.ini template (see Templates).

Logs that grow past the limit in Settings ▸ Advanced ▸ Keep each log under (10, 50 or 200 MB) are cut to their newest half.

4.9Environment variables

TallStack Environment… holds a site's own settings and secrets, such as an API key or APP_ENV=local.

  1. Click Add and type a name and value, or Paste from .env… to bring in a whole .env file at once.
  2. Click Save. Pancake restarts the servers so PHP and Python pick the values up.

The values are kept in your Keychain, never in the site's folder, and they also reach the site's scheduled tasks and workers. Names Pancake sets itself (DB_…, PANCAKE_…, DATABASE_URL, PATH, HOME and similar) are reserved; Pancake's own values win.

4.10Git

Pancake has Git built in, so you don't need Xcode's command-line tools.

Pancake's .gitignore keeps .env files, SQL dumps, dependency folders and caches out of commits. Set your name and email for commits, and a personal access token or Pancake's SSH key for your Git host, in Settings ▸ Git (Advanced).

4.11Optimize images

Optimize Images… makes a site's JPEG and PNG files smaller.

A file is replaced only when the result is smaller. Dependency folders (vendor, node_modules) and WordPress's own files are left alone. The defaults come from Settings ▸ Images.

4.12Blueprints

A Blueprint is a site saved as a template: its files, database and settings. Use one to start every client site from the same theme and plugins.

  1. On the site's card (Advanced), choose Save as Blueprint…, name it and click Save. With the servers stopped, only the files are saved.
  2. To use it, choose New Site ▸ From a Blueprint, pick it, type a new name and click Create.

4.13Staging copies

TallStack Make a Staging Copy… creates a separate site, named <site>-staging unless you choose otherwise, with its own folder and database. Its addresses are changed to the copy's own .localhost name, so the original isn't affected. Try a risky update on the copy first.

4.14Removing a site

Remove Site… (Advanced) removes the site from Pancake and moves its folder to the Trash, so you can still get the files back. A Python site's environment is deleted. The database stays in the Databases pane: export or delete it there.