hosting_updatePHPOptionsV1
Update PHP configuration options such as memory limit, execution time, and upload size for a website. Specify only the options to change.
Instructions
Updates PHP options for the website (e.g. memory_limit, max_execution_time, upload_max_filesize).
Only provide the options you want to change, inside the options object.
Values above the account plan limit are silently capped to that limit, so the request can succeed with a smaller applied value. Call the Get PHP details endpoint afterwards to read the applied value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name | |
| options | Yes | Map of PHP options to update, keyed by option name. Only include options you want to change. | |
| username | Yes | username parameter |