v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
LangPHP
PHP Settings

Return default PHP version

This function lists the system’s default PHP version.

Important:

When you disable the Web Server role, the system disables this function.

get/LangPHP/php_get_system_default_version

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": "php_get_system_default_version",
  "module": "LangPHP",
  "result": {
    "data": {
      "version": "ea-php73"
    },
    "status": 1
  }
}