PHP-Version ändern
PHP-Version des Webspace-vhosts wechseln. Startet OpenLiteSpeed neu (graceful).
PHP-Version des Webspace-vhosts wechseln. Startet OpenLiteSpeed neu (graceful).
Erforderlicher Scope: webspace:manage
| Header | Erforderlich | Wert |
|---|---|---|
Authorization |
Ja | Bearer DEIN_API_SCHLÜSSEL |
Content-Type |
Ja | application/json |
| Parameter | Erforderlich | Beschreibung |
|---|---|---|
phpVersion |
Ja | Eine von 8.1, 8.2, 8.3, 8.4, 8.5. |
{ "data": { "id": "69e80ac1...", "subdomain": "ws-0862c.sitequest.eu", "phpVersion": "8.4" } }
| Status | Code | Beschreibung |
|---|---|---|
| 400 | INVALID_PHP_VERSION |
Version nicht unterstützt. |
| 400 | NO_CHANGES |
Webspace nutzt diese Version bereits. |
curl -X PATCH https://hosting.site.quest/api/v1/webspaces/69e80ac1.../php \
-H "Authorization: Bearer sq_live_..." \
-H "Content-Type: application/json" \
-d '{ "phpVersion": "8.4" }'
Diese Aktion ist auch über das webspace_set_php MCP-Tool verfügbar.