MCP tool · Hosting account
get_php_settings
Report the PHP runtime for a domain: the selected version (e.g.
get_php_settings
Read-onlyIdempotent
Description
Report the PHP runtime for a domain: the selected version (e.g. 8.2), the handler, whether PHP is enabled, and the availableVersions this node offers. On a CloudLinux node the response carries a selector block — the account-wide PHP Selector version and every php.ini value with {value, default, overridden} provenance. To change the version use set_php_version; php.ini values set_php_settings; extensions manage_php_extensions; for the account's overall plan use get_hosting_account.
Input
| Name | Type | Description |
|---|---|---|
input
required
|
string |
A domain, email address, website URL, numeric service id, or hosting-account username the customer actually owns. Resolved to the owning account automatically; the resolved target is echoed back in the response.
|