hosting_updatePHPOptionsV1
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....
This record as markdown: /tools/io-github-hostinger-hostinger-api-mcp/hosting-updatephpoptionsv1.md
What hosting_updatePHPOptionsV1 does on Hostinger Api
AI agents use hosting_updatePHPOptionsV1 to create or update resources in Hostinger Api, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Hostinger Api environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | Yes | Domain name |
options | object | Yes | Map of PHP options to update, keyed by option name. Only include options you want to change. |
username | string | Yes | username parameter |
Parameters from the server's own tool schema.
Why hosting_updatePHPOptionsV1 is rated Medium
This tool creates or modifies data reversibly by updating PHP configuration parameters for a website. The changes are not destructive (they can be reverted by updating again) and do not delete data.
From the tool's definition Tool name is 'hosting_updatePHPOptionsV1' and description explicitly states 'Updates PHP options'. It modifies configuration settings like `memory_limit`, `max_execution_time`, and `upload_max_filesize`.
Attacks that exploit this kind of access
The rule that runs hosting_updatePHPOptionsV1 safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Hostinger Api, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For hosting_updatePHPOptionsV1, this is the rule to start with:
hosting_updatePHPOptionsV1 stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Hostinger Api, apply this rule, and every hosting_updatePHPOptionsV1 call is checked against it from then on.
Questions about hosting_updatePHPOptionsV1
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. It is categorised as a Write tool in the Hostinger Api MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
hosting_updatePHPOptionsV1 accepts 3 parameters: domain, options, username. Required: domain, options, username. The full parameter table on this page comes from the server's own tool schema.
Register the Hostinger Api MCP server in PolicyLayer and add a rule for hosting_updatePHPOptionsV1: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Hostinger Api. Nothing to install.
hosting_updatePHPOptionsV1 is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the hosting_updatePHPOptionsV1 rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for hosting_updatePHPOptionsV1. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
hosting_updatePHPOptionsV1 is provided by the Hostinger Api MCP server (hostinger-api-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Hostinger Api, and thousands of servers like it.
This server
Across the catalogue