This function lists the system’s default PHP version.
Important:
When you disable the Web Server role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ LangPHP \ php_get_system_default_version
{- "apiversion": 3,
- "func": "php_get_system_default_version",
- "module": "LangPHP",
- "result": {
- "data": {
- "version": "ea-php73"
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}