cPanel License System

Self-hosted software license manager — PHP + MySQL · admin panel + validation API

Setup on cPanel (5 minutes)

  1. In cPanel → MySQL Databases, create a database + user, grant All Privileges.
  2. Upload all files to a folder, e.g. public_html/license/.
  3. Edit config.php — set DB_NAME, DB_USER, DB_PASS, and a long random SECRET_KEY.
  4. cPanel → phpMyAdmin → your database → Import → upload install.sql.
  5. Visit https://yourdomain.com/license/install.php to create your admin account, then delete install.php.
  6. Log in at /admin/login.php, add a product, and generate keys.