Files
miniPHP/dev/server.sh
T
jasonhilder f9652ffed7 Moved development scripts into a dev directory.
This can optionally and ideally be omitted from your deployment. Purely
for local development.
2026-06-03 10:49:22 +02:00

11 lines
196 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
HOST="${HOST:-127.0.0.1}"
PORT="${PORT:-3333}"
echo "Starting development server..."
echo "URL: http://${HOST}:${PORT}"
php -S "${HOST}:${PORT}" index.php