Change Site PHP Allocation
kinsta_environments_php-allocation-siteUpdate PHP worker thread count and memory allocation for all environments in a Kinsta site. Specify site ID, thread count, and memory per thread to adjust performance.
Instructions
Change PHP worker allocation for all environments in a site. Returns an operation_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site ID | |
| thread_count | Yes | Number of PHP worker threads | |
| thread_memory | Yes | Memory per PHP worker thread in MB |