Update PHP options
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.
hostinger hosting php update-options <username> <domain> [flags]
-h, --help help for update-options
--options string Map of PHP options to update, keyed by option name. Only include options you want to change. (JSON)
--config string Config file (default is $HOME/.hostinger.yaml)
--format string Output format type (json|table|tree), default: table
- hostinger hosting php - PHP commands