# get_php_settings

> Report the PHP runtime for a domain: the selected `version` (e.g.

- Tier: R
- Required scope: read:hosting
- Annotations: readOnlyHint, idempotentHint
- Docs: https://api.inleed.com/tools/get-php-settings

## 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 schema

- `input` — string (required). 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.

## Example call

```json
{
  "name": "get_php_settings",
  "arguments": {
    "input": "example.se"
  }
}
```

