List available PHP versions

View the PHP versions available for your web hosting account. This helps ensure your website is compatible with the installed PHP version and allows you to select a specific version if needed.

Path Parameters

accountId integer · min: 1 required Example

Unique account identifier

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/hosting/{accountId}/php
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/hosting/17906/php" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "accountId": "string",
    "cpanelUsername": "string",
    "versions": {
      "status": 0,
      "messages": "string",
      "metadata": {},
      "data": "string",
      "errors": [
        "string"
      ],
      "warnings": "string"
    }
  }
}