Reference
Reference: runtime type php
tenants[].applications[].routes[].runtime<php>.fastcgi
| Syntax | fastcgi: <string> |
| Default | none |
| Context | tenants[].applications[].routes[].runtime (type: php) |
| Reload | applies on reload |
External pool: unix:/path.sock or tcp:host:port. Mutually exclusive with fpm.
tenants[].applications[].routes[].runtime<php>.fpm
| Syntax | fpm: {...} |
| Default | none |
| Context | tenants[].applications[].routes[].runtime (type: php) |
| Reload | applies on reload |
Managed PHP-FPM pool settings (workers, ini values); not used with fastcgi.
tenants[].applications[].routes[].runtime<php>.fpm.binary
| Syntax | binary: <string> |
| Default | none |
| Context | tenants[].applications[].routes[].runtime<php>.fpm |
| Reload | applies on reload |
PHP-FPM binary; default: php-fpm on PATH, else the newest versioned one (php-fpm8.4, Alpine’s php-fpm84).
tenants[].applications[].routes[].runtime<php>.fpm.env
| Syntax | env: {<key>: <string>, ...} |
| Default | empty |
| Context | tenants[].applications[].routes[].runtime<php>.fpm |
| Reload | applies on reload |
Environment passed to PHP (env[...]).
tenants[].applications[].routes[].runtime<php>.fpm.ini
| Syntax | ini: {<key>: <string>, ...} |
| Default | empty |
| Context | tenants[].applications[].routes[].runtime<php>.fpm |
| Reload | applies on reload |
php_admin_value[...] settings, e.g. memory_limit: 256M.
tenants[].applications[].routes[].runtime<php>.fpm.max_requests
| Syntax | max_requests: <integer> |
| Default | 500 |
| Context | tenants[].applications[].routes[].runtime<php>.fpm |
| Reload | applies on reload |
pm.max_requests; 0 disables recycling.
tenants[].applications[].routes[].runtime<php>.fpm.workers
| Syntax | workers: {...} |
| Default | none |
| Context | tenants[].applications[].routes[].runtime<php>.fpm |
| Reload | applies on reload |
min = pm.start_servers/pm.min_spare_servers, max = pm.max_children.
tenants[].applications[].routes[].runtime<php>.fpm.workers.autoscale
| Syntax | autoscale: off | auto | recommend |
| Default | recommend |
| Context | tenants[].applications[].routes[].runtime<php>.fpm.workers |
| Reload | applies on reload |
off, recommend (default) or auto (ADR-0014).
tenants[].applications[].routes[].runtime<php>.fpm.workers.max
| Syntax | max: <integer> |
| Default | required |
| Context | tenants[].applications[].routes[].runtime<php>.fpm.workers |
| Reload | applies on reload |
Upper bound when the pool is scaled.
tenants[].applications[].routes[].runtime<php>.fpm.workers.min
| Syntax | min: <integer> |
| Default | required |
| Context | tenants[].applications[].routes[].runtime<php>.fpm.workers |
| Reload | applies on reload |
Processes started at the beginning and kept at least.
tenants[].applications[].routes[].runtime<php>.fpm.workers.target_concurrency
| Syntax | target_concurrency: <integer> |
| Default | none |
| Context | tenants[].applications[].routes[].runtime<php>.fpm.workers |
| Reload | applies on reload |
Concurrent requests one worker is expected to handle well (utilisation basis).
tenants[].applications[].routes[].runtime<php>.front_controller
| Syntax | front_controller: <string> |
| Default | none |
| Context | tenants[].applications[].routes[].runtime (type: php) |
| Reload | applies on reload |
Script that handles requests for paths that do not exist, e.g. /index.php.
tenants[].applications[].routes[].runtime<php>.index
| Syntax | index: [<string>, ...] |
| Default | ["index.php","index.html"] |
| Context | tenants[].applications[].routes[].runtime (type: php) |
| Reload | applies on reload |
Index files for directory requests, tried in order.
tenants[].applications[].routes[].runtime<php>.response_timeout
| Syntax | response_timeout: <duration> (e.g. 30s) |
| Default | 60s |
| Context | tenants[].applications[].routes[].runtime (type: php) |
| Reload | applies on reload |
Time to wait for PHP-FPM’s response headers.
tenants[].applications[].routes[].runtime<php>.root
| Syntax | root: <string> |
| Default | none |
| Context | tenants[].applications[].routes[].runtime (type: php) |
| Reload | applies on reload |
Document root; defaults to the application root.
tenants[].applications[].routes[].runtime<php>.startup_timeout
| Syntax | startup_timeout: <duration> (e.g. 30s) |
| Default | 30s |
| Context | tenants[].applications[].routes[].runtime (type: php) |
| Reload | applies on reload |
Time the managed PHP-FPM pool gets to become ready.
tenants[].applications[].routes[].runtime<php>.stop_timeout
| Syntax | stop_timeout: <duration> (e.g. 30s) |
| Default | 10s |
| Context | tenants[].applications[].routes[].runtime (type: php) |
| Reload | applies on reload |
Time the managed pool gets to exit before it is killed.
tenants[].applications[].runtime<php>.fastcgi
| Syntax | fastcgi: <string> |
| Default | none |
| Context | tenants[].applications[].runtime (type: php) |
| Reload | applies on reload |
External pool: unix:/path.sock or tcp:host:port. Mutually exclusive with fpm.
tenants[].applications[].runtime<php>.fpm
| Syntax | fpm: {...} |
| Default | none |
| Context | tenants[].applications[].runtime (type: php) |
| Reload | applies on reload |
Managed PHP-FPM pool settings (workers, ini values); not used with fastcgi.
tenants[].applications[].runtime<php>.fpm.binary
| Syntax | binary: <string> |
| Default | none |
| Context | tenants[].applications[].runtime<php>.fpm |
| Reload | applies on reload |
PHP-FPM binary; default: php-fpm on PATH, else the newest versioned one (php-fpm8.4, Alpine’s php-fpm84).
tenants[].applications[].runtime<php>.fpm.env
| Syntax | env: {<key>: <string>, ...} |
| Default | empty |
| Context | tenants[].applications[].runtime<php>.fpm |
| Reload | applies on reload |
Environment passed to PHP (env[...]).
tenants[].applications[].runtime<php>.fpm.ini
| Syntax | ini: {<key>: <string>, ...} |
| Default | empty |
| Context | tenants[].applications[].runtime<php>.fpm |
| Reload | applies on reload |
php_admin_value[...] settings, e.g. memory_limit: 256M.
tenants[].applications[].runtime<php>.fpm.max_requests
| Syntax | max_requests: <integer> |
| Default | 500 |
| Context | tenants[].applications[].runtime<php>.fpm |
| Reload | applies on reload |
pm.max_requests; 0 disables recycling.
tenants[].applications[].runtime<php>.fpm.workers
| Syntax | workers: {...} |
| Default | none |
| Context | tenants[].applications[].runtime<php>.fpm |
| Reload | applies on reload |
min = pm.start_servers/pm.min_spare_servers, max = pm.max_children.
tenants[].applications[].runtime<php>.fpm.workers.autoscale
| Syntax | autoscale: off | auto | recommend |
| Default | recommend |
| Context | tenants[].applications[].runtime<php>.fpm.workers |
| Reload | applies on reload |
off, recommend (default) or auto (ADR-0014).
tenants[].applications[].runtime<php>.fpm.workers.max
| Syntax | max: <integer> |
| Default | required |
| Context | tenants[].applications[].runtime<php>.fpm.workers |
| Reload | applies on reload |
Upper bound when the pool is scaled.
tenants[].applications[].runtime<php>.fpm.workers.min
| Syntax | min: <integer> |
| Default | required |
| Context | tenants[].applications[].runtime<php>.fpm.workers |
| Reload | applies on reload |
Processes started at the beginning and kept at least.
tenants[].applications[].runtime<php>.fpm.workers.target_concurrency
| Syntax | target_concurrency: <integer> |
| Default | none |
| Context | tenants[].applications[].runtime<php>.fpm.workers |
| Reload | applies on reload |
Concurrent requests one worker is expected to handle well (utilisation basis).
tenants[].applications[].runtime<php>.front_controller
| Syntax | front_controller: <string> |
| Default | none |
| Context | tenants[].applications[].runtime (type: php) |
| Reload | applies on reload |
Script that handles requests for paths that do not exist, e.g. /index.php.
tenants[].applications[].runtime<php>.index
| Syntax | index: [<string>, ...] |
| Default | ["index.php","index.html"] |
| Context | tenants[].applications[].runtime (type: php) |
| Reload | applies on reload |
Index files for directory requests, tried in order.
tenants[].applications[].runtime<php>.response_timeout
| Syntax | response_timeout: <duration> (e.g. 30s) |
| Default | 60s |
| Context | tenants[].applications[].runtime (type: php) |
| Reload | applies on reload |
Time to wait for PHP-FPM’s response headers.
tenants[].applications[].runtime<php>.root
| Syntax | root: <string> |
| Default | none |
| Context | tenants[].applications[].runtime (type: php) |
| Reload | applies on reload |
Document root; defaults to the application root.
tenants[].applications[].runtime<php>.startup_timeout
| Syntax | startup_timeout: <duration> (e.g. 30s) |
| Default | 30s |
| Context | tenants[].applications[].runtime (type: php) |
| Reload | applies on reload |
Time the managed PHP-FPM pool gets to become ready.
tenants[].applications[].runtime<php>.stop_timeout
| Syntax | stop_timeout: <duration> (e.g. 30s) |
| Default | 10s |
| Context | tenants[].applications[].runtime (type: php) |
| Reload | applies on reload |
Time the managed pool gets to exit before it is killed.