DevStackBox

Configuration

Ports, config files, and service defaults.

Configuration reference

Quick reference for DevStackBox service defaults. For port conflicts, localhost binding, and firewall behavior, see Environment & Networking.

Default ports

ServiceDefault portConfig file (under user data)Config key
Apache HTTP80config/httpd.confListen 80
MySQL3306config/my.cnfport = 3306
phpMyAdmin(via Apache)config/phpmyadmin.confserved on port 80

Apache and MySQL bind to 127.0.0.1 by default (localhost only).

Config file locations

Runtime configs are generated and stored under the user data root:

%LOCALAPPDATA%\DevStackBox\
  config\
    httpd.conf
    my.cnf
    php.ini          (via php/current/)
    phpmyadmin.conf
  config-backups\    timestamped .bak files from in-app edits

The install directory (C:\devstackbox by default) holds binaries only. Edit configs from the DevStackBox UI or directly in %LOCALAPPDATA%\DevStackBox\config\.

Override the user data root with the DEVSTACKBOX_DATA_DIR environment variable (advanced).

configVersion

Generated config files include a configVersion field (or # configVersion: N header in php.ini). This supports future migrations when defaults change between releases. Do not remove the version marker when editing by hand.

Common changes

GoalWhere to edit
Change Apache portconfig/httpd.confListen
Change MySQL portconfig/my.cnfport
PHP settingsconfig/php.ini or in-app PHP editor
Document rootconfig/httpd.confDocumentRoot

After editing, restart the affected service from the dashboard.

Last updated: July 23, 2026Edit this page