This function lists domains that obtain their PHP version from a specified PHP configuration.
Important:
When you disable the Web Server role, the system disables this function.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ php_get_impacted_domains \ system_default='1' \ domain='example.com'
{- "data": {
- "domains": [
- "example.com",
- "subdomain.example.com",
- "example2.com"
]
}, - "metadata": {
- "command": "php_get_impacted_domains",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}