set_php_version_for_domain
Configure the PHP version for a domain in cPanel to match application requirements and avoid runtime compatibility issues.
Instructions
Set the PHP version for a domain
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>",
"version": "<version>"
},
"name": "set_php_version_for_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name | |
| version | Yes | PHP version (e.g., 'ea-php81', 'ea-php82', 'ea-php83') |