v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
EA4

Get EA4 configuration recommendations

This function retrieves a list of EasyApache 4 (EA4) configuration recommendations.

get/EA4/get_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_recommendations",
  "module": "EA4",
  "result": {
    "data": {
      "ea-php55-php": [
        {
          "desc": "PHP DSO runs as the user [asis,nobody] by default. In a shared hosting environment, this is a security issue.",
          "level": "danger",
          "name": "PHP DSO",
          "on": "add",
          "options": [
            {
              "items": [
                "ea-apache24-mod_ruid2",
                "ea-apache24-mod_mpm_itk"
              ],
              "level": "success",
              "recommended": true,
              "text": "We strongly recommend that you install one of the following packages unless this is a single-user system:"
            },
            {
              "level": "warning",
              "recommended": false,
              "text": "If you use suPHP, you will add some security, but may experience performance issues on your server."
            }
          ],
          "url": "https://www.example.com"
        }
      ]
    },
    "status": 1
  }
}