This function retrieves a list of EasyApache 4 (EA4) configuration recommendations.
uapi --output=jsonpretty \ --user=username \ EA4 \ get_recommendations
{- "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."
}
],
}
]
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}