EasyApache
EasyApache Settings
Return EasyApache 4 recommendations
This function returns any recommendations attached to your installed EasyApache 4 packages. For more information about the recommendation system, read our EasyApache 4 Recommendations documentation.
Important:
When you disable the Web Server role, the system disables this function.
get/ea4_recommendations
Response
HTTP Request was successful.
Example response
{
"data": {
"ea-php55-php": [
{
"desc": "PHP DSO runs as the user by default. In a shared hosting environment, this is a security issue.",
"level": "danger",
"name": "PHP DSO",
"on": "add",
"options": [
{
"items": [
"ruid2",
"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"
}
]
},
"metadata": {
"command": "ea4_recommendations",
"reason": "OK",
"result": 1,
"version": 1
}
}