hosting_updatePHPOptionsV1
Update PHP configuration for a Hostinger website by specifying only the options to change, such as memory_limit or max_execution_time. Check applied values afterwards.
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 |