Description

This function returns the system default PHP version.

Examples 




https://hostname.example.com:2087/cpsess##########/json-api/php_get_system_default_version?api.version=1




https://hostname.example.com:2087/cpsess##########/xml-api/php_get_system_default_version?api.version=1




whmapi1 php_get_system_default_version



{
   "data":{
      "version":"ea-php56"
   },
   "metadata":{
      "version":1,
      "reason":"Ok",
      "result":1,
      "command":"php_get_system_default_version"
   }
}




<result>
    <data>
        <version>ea-php56</version>
    </data>
    <metadata>
        <version>1</version>
        <reason>Ok</reason>
        <result>1</result>
        <command>php_get_system_default_version</command>
    </metadata>
</result>



Parameters

This function does not accept parameters.

Returns

ReturnTypeDescriptionPossible valuesExample

version

stringThe server's default PHP version.

ea-php56