v2.12  ·  Ubuntu 24.04 LTS  ·  FrankenPHP Stack

PS Panel

Modern server management for Ubuntu 24.04.
One command. Fully operational in minutes.

bash — install.sh
root@ubuntu:~#
Get Started → View on GitHub
scroll
// features

Everything you need,
nothing you don't.

Minimal footprint, maximum control. Manage your entire stack from one clean interface.

⚡
One-command Install
A single curl command installs and configures the entire stack. FrankenPHP, PHP 8.5, PostgreSQL 16, Redis, and Node.js — ready in under 10 minutes.
📊
Real-time Monitoring
Live CPU, RAM, disk, and network I/O metrics with 5-second auto-refresh. Top processes, load average, and 30-second bandwidth history.
🟥
Redis Statistics & Settings
Cache hit rate, memory, ops/sec, evictions, and keyspace stats — plus maxmemory, eviction policy, and AOF settings applied live and saved to redis.conf with a backup.
🗄️
PostgreSQL Management
Monitor active connections, database sizes, lock counts, and connection states. Create databases directly from the browser.
🐘
PHP Workers on Autopilot
PHP-FPM pool size and FrankenPHP threads are computed from your CPU cores and RAM and re-tuned automatically — no numbers to type. Live pool stats, queue depth, and a full change history.
▲
Smart Git Deploy
Trigger deploys from the browser — or automate with GitHub webhooks. First deploy auto-creates .env & the database, runs composer and Vite builds, fixes storage permissions, and caches everything.
🛡️
PHP Security & Runtime
Checks every PHP runtime against known critical advisories (PHP2Shell), switches sites between PHP-FPM and FrankenPHP's built-in PHP with backup and rollback, and upgrades FrankenPHP only after a stress test passes.
⚙️
Laravel Queue & Scheduler
Per-site queue worker (systemd) and cron scheduler created and managed for you: start, stop, restart, logs. Deploys warn about unsafe .env values and a bloated storage folder.
🔔
Health & Telegram Alerts
Dashboard shows service restarts, PHP-FPM pool pressure, and kernel segfaults. Get a Telegram message when a service keeps restarting, PHP crashes, or workers run out.
// tech stack

Built on proven technology

Production-grade components, carefully selected and pre-configured to work together perfectly.

⚡
FrankenPHP
Latest
Modern PHP server built on Caddy. Auto HTTPS via Let's Encrypt. No Nginx config files.
🐘
PHP
8.5 + FPM
Latest stable PHP with pgsql, redis, opcache, gd, mbstring, and 10+ extensions pre-installed.
🗄️
PostgreSQL
16
Enterprise-grade relational database. Auto-configured with a secure random password at install.
🟥
Redis
Latest
In-memory cache and session store. Bound to 127.0.0.1 for security out of the box.
🟩
Node.js
20 LTS + PM2
JS runtime with PM2 process manager. Panel survives server reboots automatically.
// dashboard preview

See it in action

Clean, minimal interface. Everything at a glance — no bloat, no noise.

http://your-server-ip:8765
Overview
◈  Dashboard
Applications
⬡  Redis
◫  PostgreSQL
🐘  PHP-FPM
Server
⚙  Services
◉  Virtual Hosts
Deploy
▲  Deploy
live · 5s refresh
Dashboard
// real-time server overview
CPU
27%
4 cores · 2.4GHz
Memory
61%
2.4G / 4.0G
Disk
34%
17G / 50G used
Load Avg
0.42 · 0.38
1m · 5m · 15m
Services 4/5 running
FrankenPHP
Web server
running
PHP-FPM
PHP processor
running
PostgreSQL
Database
running
Redis
Cache layer
running
Node.js
PS Panel runtime
n/a
Network I/O eth0
↓ Download
2.4 MB/s
↑ Upload
384 KB/s
Top Processes
php-fpm
42%
postgres
18%
redis
7%
// quick install

Get started in minutes

Four steps from a fresh VPS to a fully running panel.

01
Prepare a Ubuntu 24.04 VPS
SSH into your server as root. Minimum 1 GB RAM, 10 GB disk. Open ports 80, 443, and 8765 in your firewall.
ssh root@your-server-ip
02
Run the one-line install command
Asks for your panel username and password, then installs and configures the complete stack automatically. Takes 5–10 minutes depending on your server's connection speed.
curl -fsSL https://raw.githubusercontent.com/setiawansopan/PS-Panel/main/install.sh | sudo bash
03
Open the panel in your browser
After install completes, navigate to your server's IP on port 8765. The install summary will show the exact URL.
http://your-server-ip:8765
04
Log in with the username and password you chose
The installer asks for a panel username and password at the start (leave the password empty to get a generated one, shown at the end). Forgot them? Reset on the server:
cd /opt/ps-panel && node server.js --reset-password
📁 Credentials file: The PostgreSQL password (and the panel password only if it was generated) is saved to /root/.pspanel_credentials. A password you chose yourself is stored only as a hash. Keep this file secure.

🔑 Change login: Settings → Change Password / Panel Username. Unattended install: PS_PANEL_USER=admin PS_PANEL_PASS='secret123' bash install.sh
// documentation

User Guide

Complete guide to using every PS Panel feature.

📊
Dashboard
Real-time Monitoring

The main page displaying server status in real-time. Data is automatically refreshed every 5 seconds via WebSocket.

Metric Cards
CPU · RAM · Disk · Load
Color progress bars show usage percentage. Load average is displayed for 1m / 5m / 15m intervals.
Network I/O
Download · Upload Speed
Transfer speed per second on the active interface (non-lo). 30-second bandwidth history chart.
Services
Service Status
Active/inactive status of all services (FrankenPHP, PostgreSQL, Redis, PHP-FPM, Node.js) at a glance.
Top Processes
Top 5 Processes
Processes with the highest CPU usage. Useful for detecting suspicious or resource-hungry processes.
Tip: If CPU or RAM stays at 100%, check Top Processes to identify the cause, then use the Services page to restart the relevant service.
🌐
Virtual Hosts
Domain & SSL

Manage domains served by FrankenPHP. Each virtual host generates a config file in /etc/frankenphp/sites/.

1
Add Domain
Click + Add Domain. Fill in the domain name (e.g.: myapp.com), document root (default: /var/www/myapp.com), check PHP if it's a PHP app, SSL for HTTPS, and Laravel app if it's a Laravel project — this automatically points the document root at public/ instead of the project root.
2
Auto SSL
When SSL is enabled, FrankenPHP (Caddy) automatically requests a certificate from Let's Encrypt. Ensure the domain points to the server IP and port 80 is open before enabling SSL.
3
Edit Environment (.env)
Click the ⚙ ENV button on a domain to edit the app's .env file directly from the browser. The previous file is automatically backed up as .env.bak.
4
Open Website
Click the domain name (displayed as a link) to open the website in a new tab. The ↗ icon indicates the domain is clickable.
Warning: Removing a vhost (Remove button) only removes the FrankenPHP configuration — files in the document root are NOT deleted.
📁
File Manager
Filesystem Access

Access the entire server filesystem directly from the browser. Starts at /var/www by default, can navigate anywhere.

→Navigate: Click a folder to enter, click the breadcrumb to go back, or type the path manually in the path bar above.
→Edit file: Click the name of a text file (PHP, JS, HTML, .env, etc.) to open the inline editor. Maximum editable file size: 2MB.
→Upload: Click the Upload button then select files from your computer. Multiple files can be uploaded at once.
→Download: Click the ↓ button on the file you want to download.
→New Folder / New File: Buttons at the top to create a new folder or file in the current directory.
→Rename / Delete: Action buttons on each file/folder row. Delete prompts for confirmation for non-empty folders.
→Chmod: Change file permissions (e.g.: 644, 755, 600) directly from the action button.
Shortcut paths: Use the quick-jump buttons (/var/www, /etc/frankenphp, /opt/ps-panel, /root) to quickly navigate to important directories.
✉️
Mail / SMTP
Email Configuration

Configure external SMTP for Laravel/PHP apps in your vhosts. Settings are saved to the app's .env file as MAIL_* variables.

1
Select Virtual Host
Choose the app domain from the dropdown. SMTP configuration will be saved to that app's .env file.
2
Choose Provider or Fill Manually
7 provider presets available: Gmail, Outlook, Yahoo, SendGrid, Mailgun, Postmark, or Custom. Click a preset to auto-fill host & port.
3
Enter Credentials
Enter the username (email/API key) and password/secret. Choose encryption: TLS (port 587), SSL (port 465), or None.
4
Test & Save
Click Send Test Email to verify the connection before saving. If successful, click Save to .env.
Gmail: Use an App Password (not your main password). Enable 2FA on your Google account, then create an App Password at myaccount.google.com/apppasswords.
▲
Deploy
Git Deployment

Deploy applications from a GitHub/GitLab repository to the server. Supports both public and private repos, plus auto-deploy via webhooks.

Step 1
SSH Deploy Key
For private repos, display the SSH public key then add it to GitHub repo → Settings → Deploy Keys. Only needs to be done once.
Step 2
Clone Repository
Clone the repo to the virtual host folder for the first time. Select the target vhost, enter the repo URL, click Clone.
Step 3
Manual Deploy
Run git pull from the browser. Laravel mode auto-creates .env & the database on first deploy, runs composer, builds the frontend (Vite) if present, fixes storage permissions, migrates, and caches.
Step 4
Auto Deploy (Webhook)
Set up a GitHub webhook so deployment runs automatically on every push to a specific branch.
Laravel Mode: Check "Laravel App" to run the full pipeline automatically: create .env from .env.example + generate APP_KEY → create the database if missing → composer install → npm install && npm run build (only if a build script exists) → fix storage/ ownership → migrate --force → storage:link → cache. Every deploy (manual or webhook) is logged in the Deploy History card below with per-step pass/fail output.
🗄️
PostgreSQL
Database Management

Monitor and manage PostgreSQL 16 databases. Connects directly to the local cluster as the postgres user.

→Connection stats: Total active, idle, and query-running connections. Useful for detecting connection leaks.
→Database list: All databases with their sizes. Click a database name to view active connections.
→Create new database: Enter a database name and click Create. The database is immediately available without SSH.
→User management: Create new users/roles with passwords, then assign privileges to specific databases (SELECT, INSERT, UPDATE, DELETE, or ALL).
→Grant privileges: Select a user, database, and desired privilege. The "Make Owner" option grants full access — recommended for Laravel applications.
For Laravel: Create database → create user → grant ALL PRIVILEGES or check "Make Owner". Then update DB_DATABASE, DB_USERNAME, DB_PASSWORD in the app's .env via Virtual Hosts → ENV.
🔴
Redis
Cache Monitoring

Monitor Redis statistics running at 127.0.0.1:6379. Connects without authentication (Redis is bound to localhost for security).

Hit Rate
Cache Efficiency
Percentage of cache hits vs misses. Ideally >90%. If low, consider increasing maxmemory or reviewing the app's caching strategy.
Memory
Memory Usage
Used vs peak memory. When approaching maxmemory, Redis will start evicting keys according to the configured policy.
Ops/sec
Throughput
Number of commands processed per second. Useful for detecting load spikes from applications.
Keyspace
Key Count
Total keys per database (db0, db1, etc.). If keys keep growing without dropping, ensure the app sets TTL on each key.
⚙️
Services
System Services

Control system services via systemctl directly from the browser. Supports start, stop, and restart for all panel services.

→FrankenPHP — Main web server. Restart required after modifying the Caddyfile or PHP configuration.
→PHP-FPM — PHP processor. Restart if there are changes to php.ini or PHP extensions.
→PostgreSQL — Database server. Restart carefully — all active connections will be dropped.
→Redis — Cache server. In-memory data will be lost if persistence (RDB/AOF) is not configured.
→Node.js (PS Panel) — The panel itself runs via PM2. Restarting the panel will reload the latest configuration.
Warning: Stopping a service in production will cause downtime. Use Restart (not Stop) to apply configuration changes.
🔧
Settings
PHP & FrankenPHP Config

Edit PHP settings (memory, time limits, upload size) and the Caddyfile from the browser, and manage the panel login. Changes require password confirmation. Worker counts are automatic and cannot be typed in.

→memory_limit — Per-process PHP memory limit. Default: 256M. Increase for heavy apps like Composer or image processing.
→max_execution_time — PHP script execution time limit (seconds). Default: 60. Increase for long processes like data imports.
→upload_max_filesize & post_max_size — Maximum file upload size. Both must be increased together for large file uploads to work.
→PHP Extensions — List of active extensions. Pre-installed: pgsql, redis, opcache, gd, mbstring, curl, zip, xml, and more.
→Caddyfile — Main FrankenPHP configuration. Edit carefully; a syntax error can prevent the web server from starting.
Edit flow: Click Unlock Edit → enter panel password → edit values → click Save Changes. Settings are applied to PHP-FPM with a graceful reload; FrankenPHP restarts only if a site still uses its built-in PHP (avoid doing this during peak or exam hours). The old configuration is backed up.
⬆️
Update
Self-Update

Update PS Panel to the latest version directly from the browser without needing SSH. Old files are automatically backed up before being replaced.

1
Check Update
Click Check Update. The panel compares the installed version with the latest version on GitHub. A green "new" badge appears in the sidebar automatically when a new update is available on panel load.
2
View Changelog
The list of new features and fixes in the latest version will be displayed after a successful update check.
3
Update Now
Click Update Now. The panel will download the latest files, run npm install, then restart automatically. The process usually completes in 30–60 seconds.
4
Page Auto-reloads
After the panel finishes restarting, the browser will automatically reload. Config, vhosts, databases, and app files are unaffected by the update.
Safe: The update only touches panel files (server.js, public/index.html). All vhost configs in /etc/frankenphp/sites/, PostgreSQL databases, and app .env files remain unchanged.
// faq

Frequently asked questions

Everything you need to know before getting started.

What is PS Panel?
+
PS Panel is a lightweight, self-hosted server management panel for Ubuntu 24.04 LTS. It provides a browser-based interface to monitor system resources, manage services (FrankenPHP, PHP-FPM, PostgreSQL, Redis), configure virtual hosts with SSL, and deploy applications via git — without needing SSH for routine tasks.
Is PS Panel free?
+
Yes, completely free and open-source. No subscriptions, no usage limits, no hidden costs. PS Panel is released for the open-source community. You can use it for personal projects or commercial deployments, and contribute to its development on GitHub.
Which operating systems are supported?
+
PS Panel is optimized and tested for Ubuntu 24.04 LTS. The installer may work on other Debian-based systems, but Ubuntu 24.04 is the only officially supported target. Support for additional distributions may be added in future versions.
How do I change the panel password?
+
Open Settings in the panel: Change Panel Password (old + new password) and Panel Username. Changing either logs out all other sessions.

Forgot them? On the server run cd /opt/ps-panel && node server.js --reset-password (prints the username and a new password) or node server.js --set-username newname, then pm2 restart ps-panel.
Is the panel secure?
+
PS Panel includes: JWT authentication (8-hour expiry), bcrypt password hashing, login rate limiting (5 attempts / 15 min), WebSocket authentication, command injection prevention on deploy inputs, and domain validation on virtual host creation. For production use, we recommend restricting port 8765 to trusted IPs via your server's firewall.