PHP-FPM Screen

PHP-FPM pool management with OPcache, modules, config editor, and logs.


Layout

+------------------------------------------------------------------+
|  PHP-FPM Manager   PHP 8.3.6   Pools: 2   Total Workers: 100    |
+------------------------------------------------------------------+
|  Pools │ Status │ OPcache │ Modules │ Logs                        |
+------------------------------------------------------------------+
|  ┌──────────────────────────────────────────────────────────────┐|
|  │ Pool: www                                                    │|
|  │ PM: dynamic   Max: 50   Start: 5   Spare: 5/35             │|
|  │ Status: active   Requests: 12345   Traffic: 45.6 MB         │|
|  │                                                              │|
|  │ [Config] [Logs] [Slow Log] [Edit]                           │|
|  └──────────────────────────────────────────────────────────────┘|
|  ┌──────────────────────────────────────────────────────────────┐|
|  │ Pool: api                                                    │|
|  │ PM: static   Max: 50   Active: 42   Idle: 8                │|
|  │ Status: active   Requests: 89012   Traffic: 234.5 MB        │|
|  │                                                              │|
|  │ [Config] [Logs] [Slow Log] [Edit]                           │|
|  └──────────────────────────────────────────────────────────────┘|
+------------------------------------------------------------------+

Tabs

TabContent
PoolsPool list with cards
StatusPHP-FPM service status
OPcacheOPcache statistics and bars
ModulesInstalled PHP modules grid
LogsPool access logs and slow logs

Features

FeatureDescription
Pool ListAuto-detects any PHP version
Pool StatusLive status via pm.status_path
OPcache StatsMemory usage, hit rate, cached scripts
Module ListAll 46+ installed modules
Config EditorEdit pool directives
Config Testphp-fpm -t syntax check
RestartRestart PHP-FPM service
ReloadGraceful reload
Error LogsLast 100 lines from error log
Slow LogsLast 20 slow request entries

Event Delegation

Buttons use data-fpm-action attributes.


CSS Classes

ClassPurpose
.fpm-pool-cardPool container
.fpm-pool-statusPM mode badge
.fpm-opcache-barOPcache memory bar
.fpm-hit-rate-barHit rate progress bar
.fpm-modules-gridModule grid layout

API Calls

MethodEndpointPurpose
GET/api/phpfpmList pools
GET/api/phpfpm/statusFPM status
GET/api/phpfpm/opcacheOPcache stats
GET/api/phpfpm/modulesPHP modules
GET/api/phpfpm/:namePool config
PUT/api/phpfpm/:nameEdit pool
POST/api/phpfpm/restartRestart
POST/api/phpfpm/reloadReload

Part of NexusPanel Documentation

← Back to Documentation