CorefinityCorefinityDocs
Open the Control PanelControl Panel
PHP and runtime · 20 of 22

corestack_php_runtime_revision_get

PHP configuration revision.

Scope readNo secrets returned
On this page

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

Prompt
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

tools/call
{
  "name": "corestack_php_runtime_revision_get",
  "arguments": {
    "site_id": 4211,
    "revision": 12
  }
}

If it is refused

ReasonWhat to do
invalid_argumentsA revision this row never had, or no longer keeps (corestack_php_runtime_history_list lists them).
tenant_mismatchThe object does not exist or the token may not see it. Check the id.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
pin_refusedThe 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_limitedToo many calls. Wait for the number of seconds the answer names.
temporarily_unavailableThe Control Panel could not answer just now. Nothing was started; try again shortly.
internal_errorSomething went wrong on our side. Quote the trace id to support.

The same task elsewhere

Was this helpful?
Open in ClaudeOpen in ChatGPT