Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1009 Bytes

File metadata and controls

34 lines (22 loc) · 1009 Bytes

hostinger hosting php update-options

Update PHP options

Synopsis

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]

Options

  -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)

Options inherited from parent commands

      --config string   Config file (default is $HOME/.hostinger.yaml)
      --format string   Output format type (json|table|tree), default: table

SEE ALSO