Plain PHP + MySQL + Nixpacks

Plain PHP VPS Test

A small deploy-check app for Dokploy or any VPS that can build with Nixpacks.

Environment production
PHP 8.3.15
Database Connected

Deployment Notes

  • Build type: Nixpacks
  • Web root comes from nixpacks.toml and points at public
  • The app creates the notes table automatically after the MySQL variables are valid
  • Set the Dokploy health check path to /health.php

Required environment variables

APP_NAME="Plain PHP VPS Test"
APP_ENV=production
DB_HOST=mysql-host
DB_PORT=3306
DB_DATABASE=plain_php_vps_test
DB_USERNAME=plain_php_user
DB_PASSWORD=super-secret

Quick Notes

Test

2026-05-02 11:23:32

Test