corestack_ php_ runtime_ revision_ get
PHP configuration revision.
When to use it
One PHP configuration revision of a row, from corestack_php_runtime_history_list: its whole state — version, extensions, settings, FPM, Xdebug, the custom php.ini — to compare or to revert to.
Ask for it
Using the Corefinity MCP server, call corestack_php_runtime_revision_get with site_id 4211, revision 12. (PHP configuration revision.) Tell me what it returned.Inputs
revisionintegerRequired
A revision number from corestack_php_runtime_history_list. 1 to 9999999999.
site_idintegerRequired
The row: the site or one of its environments. At least 1.
Example call
{
"name": "corestack_php_runtime_revision_get",
"arguments": {
"site_id": 4211,
"revision": 12
}
}If it is refused
| Reason | What to do |
|---|---|
invalid_arguments | A revision this row never had, or no longer keeps (corestack_php_runtime_history_list lists them). |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |
The same task elsewhere
Was this helpful?