v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
PHP

Get custom PHP recommendations.

This function returns a list of recommended PHP versions.

get/EA4/get_php_recommendations

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "get_php_recommendations",
  "module": "EA4",
  "result": {
    "data": [
      "php80"
    ],
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}